Boost logo

Boost Users :

From: me22 (me22.ca_at_[hidden])
Date: 2006-04-19 14:32:07


On 4/19/06, Finley Lee <finleyl_at_[hidden]> wrote:
> I'd like to call boost::singleton_pool::purge_memory(), but
> I don't know how to instantiate the correct version. Is there a way to
> determine the size of the chunks the map allocator will require? I have
> determined by debugging that the size is 28 bytes, but I imagine that this
> is dependent on the particular implementation of map.
>

Maps have a function for returning copies of their allocators:
http://www.roguewave.com/support/docs/sourcepro/edition9/html/stdlibref/map.html#idx839

HTH,
~ SWMc


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