blob: c1a1c3da0ece6325bd9e71597bfb10bef95b801b [file] [log] [blame]
Brian Silvermanfad8f552018-08-04 23:36:19 -07001//////////////////////////////////////////////////////////////////////////////
2//
3// (C) Copyright Ion Gaztanaga 2004-2013. Distributed under the Boost
4// Software License, Version 1.0. (See accompanying file
5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6//
7// See http://www.boost.org/libs/container for documentation.
8//
9//////////////////////////////////////////////////////////////////////////////
10#include <boost/container/detail/tree.hpp>
11#include <boost/container/adaptive_pool.hpp>
12
13#include "movable_int.hpp"
14#include "dummy_test_allocator.hpp"
15
16using namespace boost::container;
17
18typedef std::pair<const test::movable_and_copyable_int, test::movable_and_copyable_int> pair_t;
19
20namespace boost {
21namespace container {
22
23//Explicit instantiation to detect compilation errors
24
25namespace dtl {
26
27//Instantiate base class as previous instantiations don't instantiate inherited members
28template class tree
29 < pair_t
30 , select1st<test::movable_and_copyable_int>
31 , std::less<test::movable_and_copyable_int>
32 , test::simple_allocator<pair_t>
33 , tree_assoc_defaults
34 >;
35
36template class tree
37 < pair_t
38 , select1st<test::movable_and_copyable_int>
39 , std::less<test::movable_and_copyable_int>
40 , std::allocator<pair_t>
41 , tree_assoc_defaults
42 >;
43
44template class tree
45 < pair_t
46 , select1st<test::movable_and_copyable_int>
47 , std::less<test::movable_and_copyable_int>
48 , adaptive_pool<pair_t>
49 , tree_assoc_defaults
50 >;
51
52template class tree
53 < test::movable_and_copyable_int
54 , identity<test::movable_and_copyable_int>
55 , std::less<test::movable_and_copyable_int>
56 , test::simple_allocator<test::movable_and_copyable_int>
57 , tree_assoc_defaults
58 >;
59
60template class tree
61 < test::movable_and_copyable_int
62 , identity<test::movable_and_copyable_int>
63 , std::less<test::movable_and_copyable_int>
64 , std::allocator<test::movable_and_copyable_int>
65 , tree_assoc_defaults
66 >;
67
68template class tree
69 < test::movable_and_copyable_int
70 , identity<test::movable_and_copyable_int>
71 , std::less<test::movable_and_copyable_int>
72 , adaptive_pool<test::movable_and_copyable_int>
73 , tree_assoc_defaults
74 >;
75
76} //dtl {
77
78}} //boost::container
79
80int main ()
81{
82 return 0;
83}