From f7f5466ed22b01e39f8dfc40edb96d2e7804521e Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Tue, 14 Feb 2023 09:19:50 -0800 Subject: [PATCH] Add necessary #include's and typedefs for test suite to use foa-based node containers --- test/exception/containers.hpp | 20 ++++++++++++++++++-- test/helpers/unordered.hpp | 2 ++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/test/exception/containers.hpp b/test/exception/containers.hpp index e6eb267b..390207a8 100644 --- a/test/exception/containers.hpp +++ b/test/exception/containers.hpp @@ -25,8 +25,24 @@ typedef boost::unordered_flat_set< test::exception::allocator > test_pair_set; -#define CONTAINER_SEQ (test_set)(test_map) -#define CONTAINER_PAIR_SEQ (test_pair_set)(test_map) +typedef boost::unordered_node_set > + test_node_set; + +typedef boost::unordered_node_map > + test_node_map; + +typedef boost::unordered_node_set< + std::pair, + test::exception::hash, test::exception::equal_to, + test::exception::allocator > + test_pair_node_set; + +#define CONTAINER_SEQ (test_set)(test_map)(test_node_set)(test_node_map) +#define CONTAINER_PAIR_SEQ (test_pair_set)(test_map)(test_pair_node_set)(test_node_map) #else typedef boost::unordered_set #include +#include +#include #include #else #include