diff --git a/test/unordered/compile_map.cpp b/test/unordered/compile_map.cpp index c4c8d7ce..b929ced8 100644 --- a/test/unordered/compile_map.cpp +++ b/test/unordered/compile_map.cpp @@ -1,6 +1,6 @@ // Copyright 2006-2009 Daniel James. -// Copyright 2022 Christian Mazakas. +// Copyright 2022-2023 Christian Mazakas. // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -35,6 +35,22 @@ template class instantiate_flat_map, test::minimal::allocator >; +template +class instantiate_node_map +{ + typedef boost::unordered_node_map container; + container x; +}; + +template class instantiate_node_map, + std::equal_to, test::minimal::allocator >; + +template class instantiate_node_map, + test::minimal::equal_to, + test::minimal::allocator >; + #else #define INSTANTIATE(type) \ template class boost::unordered::detail::instantiate_##type @@ -55,149 +71,101 @@ INSTANTIATE(multimap) >; #endif -UNORDERED_AUTO_TEST (test0) { +template