Option to use same node type everywhere.

Will allow me to implement merge and extract fully.
This commit is contained in:
Daniel James
2017-02-27 03:59:02 +00:00
parent 0645700b33
commit 13322fe858
5 changed files with 97 additions and 45 deletions

View File

@@ -47,6 +47,10 @@ std::size_t hash_value(insert_stable::member const& x)
}
}
// This is now only supported when using grouped nodes. I can't see any
// efficient way to do it otherwise.
#if !BOOST_UNORDERED_INTEROPERABLE_NODES
UNORDERED_AUTO_TEST(stable_insert_test1)
{
boost::unordered_multiset<insert_stable::member> x;
@@ -110,4 +114,6 @@ UNORDERED_AUTO_TEST(stable_insert_test2)
BOOST_TEST(it == end);
}
#endif
RUN_TESTS()