| 
									
										
										
										
											2006-07-01 22:31:26 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-03-09 20:56:23 +00:00
										 |  |  | // Copyright 2006-2009 Daniel James.
 | 
					
						
							| 
									
										
										
										
											2022-10-24 11:31:25 -07:00
										 |  |  | // Copyright 2022 Christian Mazakas.
 | 
					
						
							| 
									
										
										
										
											2006-07-01 22:31:26 +00:00
										 |  |  | // 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)
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-17 13:19:29 -07:00
										 |  |  | #include "../helpers/unordered.hpp"
 | 
					
						
							| 
									
										
										
										
											2017-02-19 13:05:17 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-05-21 17:14:11 +00:00
										 |  |  | #include "../objects/exception.hpp"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-17 13:19:29 -07:00
										 |  |  | #ifdef BOOST_UNORDERED_FOA_TESTS
 | 
					
						
							|  |  |  | typedef boost::unordered_flat_set<test::exception::object, | 
					
						
							|  |  |  |   test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator<test::exception::object> > | 
					
						
							|  |  |  |   test_set; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef boost::unordered_flat_map<test::exception::object, | 
					
						
							|  |  |  |   test::exception::object, test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator2<test::exception::object> > | 
					
						
							|  |  |  |   test_map; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef boost::unordered_flat_set< | 
					
						
							|  |  |  |   std::pair<test::exception::object, test::exception::object>, | 
					
						
							|  |  |  |   test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator<test::exception::object> > | 
					
						
							|  |  |  |   test_pair_set; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #define CONTAINER_SEQ (test_set)(test_map)
 | 
					
						
							|  |  |  | #define CONTAINER_PAIR_SEQ (test_pair_set)(test_map)
 | 
					
						
							|  |  |  | #else
 | 
					
						
							| 
									
										
										
										
											2017-02-19 13:05:17 +00:00
										 |  |  | typedef boost::unordered_set<test::exception::object, test::exception::hash, | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator<test::exception::object> > | 
					
						
							|  |  |  |   test_set; | 
					
						
							| 
									
										
										
										
											2017-02-19 13:05:17 +00:00
										 |  |  | typedef boost::unordered_multiset<test::exception::object, | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator2<test::exception::object> > | 
					
						
							|  |  |  |   test_multiset; | 
					
						
							| 
									
										
										
										
											2017-02-19 13:05:17 +00:00
										 |  |  | typedef boost::unordered_map<test::exception::object, test::exception::object, | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator2<test::exception::object> > | 
					
						
							|  |  |  |   test_map; | 
					
						
							| 
									
										
										
										
											2017-02-19 13:05:17 +00:00
										 |  |  | typedef boost::unordered_multimap<test::exception::object, | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   test::exception::object, test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator<test::exception::object> > | 
					
						
							|  |  |  |   test_multimap; | 
					
						
							| 
									
										
										
										
											2017-01-01 18:35:50 +00:00
										 |  |  | typedef boost::unordered_set< | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   std::pair<test::exception::object, test::exception::object>, | 
					
						
							|  |  |  |   test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator<test::exception::object> > | 
					
						
							|  |  |  |   test_pair_set; | 
					
						
							| 
									
										
										
										
											2017-01-01 18:35:50 +00:00
										 |  |  | typedef boost::unordered_multiset< | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   std::pair<test::exception::object, test::exception::object>, | 
					
						
							|  |  |  |   test::exception::hash, test::exception::equal_to, | 
					
						
							|  |  |  |   test::exception::allocator2<test::exception::object> > | 
					
						
							|  |  |  |   test_pair_multiset; | 
					
						
							| 
									
										
										
										
											2006-05-21 17:14:11 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-06-11 19:42:55 +00:00
										 |  |  | #define CONTAINER_SEQ (test_set)(test_multiset)(test_map)(test_multimap)
 | 
					
						
							| 
									
										
										
										
											2017-02-19 13:05:17 +00:00
										 |  |  | #define CONTAINER_PAIR_SEQ                                                     \
 | 
					
						
							| 
									
										
										
										
											2017-06-11 20:55:59 +01:00
										 |  |  |   (test_pair_set)(test_pair_multiset)(test_map)(test_multimap) | 
					
						
							| 
									
										
										
										
											2022-10-17 13:19:29 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |