Boost logo

Boost Users :

From: Aaron W. LaFramboise (aaronrabiddog51_at_[hidden])
Date: 2007-06-26 17:46:36


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?


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