]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/container/test/explicit_inst_small_vector_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/small_vector.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::small_vector
<empty
, 2>;
20 volatile ::boost::container::small_vector
<empty
, 2> dummy
;
22 #include <boost/container/allocator.hpp>
23 #include "movable_int.hpp"
24 #include "dummy_test_allocator.hpp"
29 template class small_vector
<char, 0>;
30 template class small_vector
<char, 1>;
31 template class small_vector
<char, 2>;
32 template class small_vector
<char, 10>;
34 template class small_vector
<int, 0>;
35 template class small_vector
<int, 1>;
36 template class small_vector
<int, 2>;
37 template class small_vector
<int, 10>;
39 //Explicit instantiation to detect compilation errors
40 template class boost::container::small_vector
41 < test::movable_and_copyable_int
43 , test::simple_allocator
<test::movable_and_copyable_int
> >;
45 template class boost::container::small_vector
46 < test::movable_and_copyable_int
48 , allocator
<test::movable_and_copyable_int
> >;