Boost Users :
Subject: Re: [Boost-users] fast_pool_allocator, std::multi_map and purge_memory
From: Soeren Meyer-Eppler (Soeren.Meyer-Eppler_at_[hidden])
Date: 2009-08-31 11:25:28
> std::multi_map doesn't allocate object of the value_type.
> It uses Allocator::rebind to allocate objects of its internal
> node type, which contains extra member.
Thanks for the quick reply Steven. Your explanation makes perfect
sense - however it also presents a problem: how do I deallocate
memory now? As far as I can tell the STL that ships with MSVC has
the map's internal _Node datatype protected. So aside from guessing
the correct size of it - how can I tell what the proper singleton
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net