]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/container/test/explicit_inst_set_test.cpp
1 //////////////////////////////////////////////////////////////////////////////
3 // (C) Copyright Ion Gaztanaga 2015-2015. 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 //////////////////////////////////////////////////////////////////////////////
11 #include <boost/container/set.hpp>
15 friend bool operator == (const empty
&, const empty
&){ return true; }
16 friend bool operator < (const empty
&, const empty
&){ return true; }
19 template class ::boost::container::set
<empty
>;
20 template class ::boost::container::multiset
<empty
>;
22 volatile ::boost::container::set
<empty
> dummy
;
23 volatile ::boost::container::multiset
<empty
> dummy2
;
25 #include <boost/container/allocator.hpp>
26 #include <boost/container/adaptive_pool.hpp>
27 #include "movable_int.hpp"
28 #include "dummy_test_allocator.hpp"
33 //Explicit instantiation to detect compilation errors
37 < test::movable_and_copyable_int
38 , std::less
<test::movable_and_copyable_int
>
39 , test::simple_allocator
<test::movable_and_copyable_int
>
43 template class multiset
44 < test::movable_and_copyable_int
45 , std::less
<test::movable_and_copyable_int
>
46 , adaptive_pool
<test::movable_and_copyable_int
>