
26 Jun
2007
26 Jun
'07
3:46 p.m.
I'm trying to use Daniel James'es unordered containers, from the vault, with Interprocess: typedef ip::allocator<T, ip::managed_windows_shared_memory::segment_manager> T_allocator; typedef typedef boost::unordered_set<T, T_hash, std::equal_to<T>, T_allocator> T_set; I get this error: boost\unordered\detail\hash_table_impl.hpp(419) : error C2039: 'destroy' : is not a member of 'boost::interprocess::allocator<T,SegmentManager>' The method 'destroy' is missing in CVS, even though its still present in the documentation at <http://cloud.prohosting.com/newfunk/boost/libs/interprocess/doc/html/boost/interprocess/allocator.html>. Is there some other general-purpose allocator that would work here? Why is this method missing?