]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/container/test/flat_tree_test.cpp
1 //////////////////////////////////////////////////////////////////////////////
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)
7 // See http://www.boost.org/libs/container for documentation.
9 //////////////////////////////////////////////////////////////////////////////
10 #include <boost/container/detail/flat_tree.hpp>
11 #include <boost/container/small_vector.hpp>
12 #include <boost/container/stable_vector.hpp>
13 #include <boost/container/static_vector.hpp>
15 #include "movable_int.hpp"
16 #include "dummy_test_allocator.hpp"
18 using namespace boost::container
;
20 typedef boost::container::dtl::pair
<test::movable_and_copyable_int
, test::movable_and_copyable_int
> pair_t
;
25 //Explicit instantiation to detect compilation errors
29 template class flat_tree
31 , select1st
<test::movable_and_copyable_int
>
32 , std::less
<test::movable_and_copyable_int
>
33 , test::simple_allocator
<pair_t
>
36 template class flat_tree
38 , select1st
<test::movable_and_copyable_int
>
39 , std::less
<test::movable_and_copyable_int
>
40 , std::allocator
<pair_t
>
43 template class flat_tree
45 , select1st
<test::movable_and_copyable_int
>
46 , std::less
<test::movable_and_copyable_int
>
47 , small_vector
<pair_t
, 10>
50 template class flat_tree
52 , select1st
<test::movable_and_copyable_int
>
53 , std::less
<test::movable_and_copyable_int
>
54 , stable_vector
<pair_t
>
57 template class flat_tree
58 < test::movable_and_copyable_int
59 , identity
<test::movable_and_copyable_int
>
60 , std::less
<test::movable_and_copyable_int
>
61 , test::simple_allocator
<test::movable_and_copyable_int
>
64 template class flat_tree
65 < test::movable_and_copyable_int
66 , identity
<test::movable_and_copyable_int
>
67 , std::less
<test::movable_and_copyable_int
>
68 , std::allocator
<test::movable_and_copyable_int
>
71 template class flat_tree
72 < test::movable_and_copyable_int
73 , identity
<test::movable_and_copyable_int
>
74 , std::less
<test::movable_and_copyable_int
>
75 , small_vector
<test::movable_and_copyable_int
, 10>
78 template class flat_tree
79 < test::movable_and_copyable_int
80 , identity
<test::movable_and_copyable_int
>
81 , std::less
<test::movable_and_copyable_int
>
82 , stable_vector
<test::movable_and_copyable_int
>
85 template class flat_tree
86 < test::movable_and_copyable_int
87 , identity
<test::movable_and_copyable_int
>
88 , std::less
<test::movable_and_copyable_int
>
89 , static_vector
<test::movable_and_copyable_int
, 10>
95 #if (__cplusplus > 201103L)
102 template class flat_tree
103 < test::movable_and_copyable_int
104 , identity
<test::movable_and_copyable_int
>
105 , std::less
<test::movable_and_copyable_int
>
106 , std::vector
<test::movable_and_copyable_int
>
109 template class flat_tree
111 , select1st
<test::movable_and_copyable_int
>
112 , std::less
<test::movable_and_copyable_int
>
113 , std::vector
<pair_t
>
117 }} //boost::container