Boost logo

Boost :

From: Daniel James (daniel_james_at_[hidden])
Date: 2008-06-15 13:10:48

On 15/06/2008, Darren Garvey <darren.garvey_at_[hidden]> wrote:
> ...and unodered_test.cpp fails because:
> """
> ../../../boost/unordered_set.hpp:479: error: 'struct
> boost::unordered_detail::move_from<boost::unordered_multiset<int,
> boost::hash<int>, std::equal_to<int>, boost::interprocess::allocator<int,
> boost::interprocess::segment_manager<char,
> boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family,
> boost::interprocess::offset_ptr<void>, 0u>, boost::interprocess::iset_index>
> > > >' has no member named 'base'

That's a bug in unordered_set. It should be fixed in trunk. Thanks.

Ion, the attached patch is required to get the test to run on g++ 4.3,
with the '--std=c++0x' flag. I think the explicit casts to 'void*' are
required because the C++-0x std::pair has a template constructor -
which is instantiated with the first argument as 'int' which can't be
converted to 'void*'.


Boost list run by bdawes at, gregod at, cpdaniel at, john at