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::hash<int>, std::equal_to<int>, boost::interprocess::allocator<int,
> 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk