Merge in latest changes to Boost.Unordered. Some compiler workarounds and

starting to clean up the tests a little.


[SVN r42724]
This commit is contained in:
Daniel James
2008-01-13 16:19:26 +00:00
parent be93c29493
commit 00c2c3bc4c
5 changed files with 317 additions and 307 deletions

View File

@@ -77,8 +77,8 @@ void erase_tests1(Container* = 0)
BOOST_TEST(next == x.erase(pos));
--size;
if(size > 0)
BOOST_TEST(next ==
(index == 0 ? x.begin() : boost::next(prev)));
BOOST_TEST(index == 0 ? next == x.begin() :
next == boost::next(prev));
BOOST_TEST(x.count(key) == count - 1);
BOOST_TEST(x.size() == size);
}