
On 15/06/2008, Darren Garvey <darren.garvey@gmail.com> 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*'. Daniel