From 1c5733ed15a4c6279553d5c785666b5c9f524937 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 19 Jan 2023 13:07:28 -0800 Subject: [PATCH] Add node-based foa containers to exception tests --- test/exception/containers.hpp | 20 ++++++++++++++++++-- 1 file changed, 18 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