
13 May
2011
13 May
'11
6:43 a.m.
Code is wrong, because allocator must be defined as:
typedef std::pair
MapValue_t;
Indeed that resolves the issues I encountered in the trunk code.
The sad part is that I think this bug should have been detected by the implementation, since it's quite common, and it's curious everything compiled fine with such type change.
well I did ignore the following compilation warning: boost-trunk/boost/interprocess/containers/container/detail/tree.hpp:328:31: warning: returning reference to temporary which does not occur when using the correct "const key" allocator. anyways, thank you very much for your help, Steven