31 Aug
2009
31 Aug
'09
3:25 p.m.
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 pool is? cheers, Sören