| 1 | |
| 2 | // Copyright 2006-2009 Daniel James. |
| 3 | // Copyright 2022 Christian Mazakas. |
| 4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | |
| 7 | #include "../helpers/unordered.hpp" |
| 8 | |
| 9 | #include "../objects/exception.hpp" |
| 10 | |
| 11 | #ifdef BOOST_UNORDERED_FOA_TESTS |
| 12 | typedef boost::unordered_flat_set<test::exception::object, |
| 13 | test::exception::hash, test::exception::equal_to, |
| 14 | test::exception::allocator<test::exception::object> > |
| 15 | test_set; |
| 16 | |
| 17 | typedef boost::unordered_flat_map<test::exception::object, |
| 18 | test::exception::object, test::exception::hash, test::exception::equal_to, |
| 19 | test::exception::allocator2<test::exception::object> > |
| 20 | test_map; |
| 21 | |
| 22 | typedef boost::unordered_flat_set< |
| 23 | std::pair<test::exception::object, test::exception::object>, |
| 24 | test::exception::hash, test::exception::equal_to, |
| 25 | test::exception::allocator<test::exception::object> > |
| 26 | test_pair_set; |
| 27 | |
| 28 | typedef boost::unordered_node_set<test::exception::object, |
| 29 | test::exception::hash, test::exception::equal_to, |
| 30 | test::exception::allocator<test::exception::object> > |
| 31 | test_node_set; |
| 32 | |
| 33 | typedef boost::unordered_node_map<test::exception::object, |
| 34 | test::exception::object, test::exception::hash, test::exception::equal_to, |
| 35 | test::exception::allocator2<test::exception::object> > |
| 36 | test_node_map; |
| 37 | |
| 38 | typedef boost::unordered_node_set< |
| 39 | std::pair<test::exception::object, test::exception::object>, |
| 40 | test::exception::hash, test::exception::equal_to, |
| 41 | test::exception::allocator<test::exception::object> > |
| 42 | test_pair_node_set; |
| 43 | |
| 44 | #define CONTAINER_SEQ (test_set)(test_map)(test_node_set)(test_node_map) |
| 45 | #define CONTAINER_PAIR_SEQ (test_pair_set)(test_map)(test_pair_node_set)(test_node_map) |
| 46 | #else |
| 47 | typedef boost::unordered_set<test::exception::object, test::exception::hash, |
| 48 | test::exception::equal_to, |
| 49 | test::exception::allocator<test::exception::object> > |
| 50 | test_set; |
| 51 | typedef boost::unordered_multiset<test::exception::object, |
| 52 | test::exception::hash, test::exception::equal_to, |
| 53 | test::exception::allocator2<test::exception::object> > |
| 54 | test_multiset; |
| 55 | typedef boost::unordered_map<test::exception::object, test::exception::object, |
| 56 | test::exception::hash, test::exception::equal_to, |
| 57 | test::exception::allocator2<test::exception::object> > |
| 58 | test_map; |
| 59 | typedef boost::unordered_multimap<test::exception::object, |
| 60 | test::exception::object, test::exception::hash, test::exception::equal_to, |
| 61 | test::exception::allocator<test::exception::object> > |
| 62 | test_multimap; |
| 63 | typedef boost::unordered_set< |
| 64 | std::pair<test::exception::object, test::exception::object>, |
| 65 | test::exception::hash, test::exception::equal_to, |
| 66 | test::exception::allocator<test::exception::object> > |
| 67 | test_pair_set; |
| 68 | typedef boost::unordered_multiset< |
| 69 | std::pair<test::exception::object, test::exception::object>, |
| 70 | test::exception::hash, test::exception::equal_to, |
| 71 | test::exception::allocator2<test::exception::object> > |
| 72 | test_pair_multiset; |
| 73 | |
| 74 | #define CONTAINER_SEQ (test_set)(test_multiset)(test_map)(test_multimap) |
| 75 | #define CONTAINER_PAIR_SEQ \ |
| 76 | (test_pair_set)(test_pair_multiset)(test_map)(test_multimap) |
| 77 | |
| 78 | #endif |
| 79 | |