Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / unordered / test / exception / containers.hpp
1
2 // Copyright 2006-2009 Daniel James.
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #include "../helpers/prefix.hpp"
7 #include <boost/unordered_map.hpp>
8 #include <boost/unordered_set.hpp>
9 #include "../helpers/postfix.hpp"
10 #include "../objects/exception.hpp"
11
12 typedef boost::unordered_set<
13     test::exception::object,
14     test::exception::hash,
15     test::exception::equal_to,
16     test::exception::allocator<test::exception::object> > test_set;
17 typedef boost::unordered_multiset<
18     test::exception::object,
19     test::exception::hash,
20     test::exception::equal_to,
21     test::exception::allocator2<test::exception::object> > test_multiset;
22 typedef boost::unordered_map<
23     test::exception::object,
24     test::exception::object,
25     test::exception::hash,
26     test::exception::equal_to,
27     test::exception::allocator2<test::exception::object> > test_map;
28 typedef boost::unordered_multimap<
29     test::exception::object,
30     test::exception::object,
31     test::exception::hash,
32     test::exception::equal_to,
33     test::exception::allocator<test::exception::object> > test_multimap;
34
35 #define CONTAINER_SEQ (test_set)(test_multiset)(test_map)(test_multimap)