]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/container/test/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/tree.hpp>
11 #include <boost/container/adaptive_pool.hpp>
12 #include <boost/container/new_allocator.hpp>
13 #include <boost/move/traits.hpp>
16 #include <memory> //for std::allocator
18 #include "movable_int.hpp"
19 #include "dummy_test_allocator.hpp"
21 using namespace boost::container
;
23 typedef std::pair
<const test::movable_and_copyable_int
, test::movable_and_copyable_int
> pair_t
;
28 //Explicit instantiation to detect compilation errors
32 //Instantiate base class as previous instantiations don't instantiate inherited members
35 , select1st
<test::movable_and_copyable_int
>
36 , std::less
<test::movable_and_copyable_int
>
37 , test::simple_allocator
<pair_t
>
43 , select1st
<test::movable_and_copyable_int
>
44 , std::less
<test::movable_and_copyable_int
>
45 , std::allocator
<pair_t
>
51 , select1st
<test::movable_and_copyable_int
>
52 , std::less
<test::movable_and_copyable_int
>
53 , adaptive_pool
<pair_t
>
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
>
66 < test::movable_and_copyable_int
67 , identity
<test::movable_and_copyable_int
>
68 , std::less
<test::movable_and_copyable_int
>
69 , std::allocator
<test::movable_and_copyable_int
>
74 < test::movable_and_copyable_int
75 , identity
<test::movable_and_copyable_int
>
76 , std::less
<test::movable_and_copyable_int
>
77 , adaptive_pool
<test::movable_and_copyable_int
>