
19 Apr
2006
19 Apr
'06
6:32 p.m.
On 4/19/06, Finley Lee
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.... HTH, ~ SWMc