1//////////////////////////////////////////////////////////////////////////////
2//
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)
6//
7// See http://www.boost.org/libs/container for documentation.
8//
9//////////////////////////////////////////////////////////////////////////////
10
11#include <boost/container/stable_vector.hpp>
12
13struct empty
14{
15 friend bool operator == (const empty &, const empty &){ return true; }
16 friend bool operator < (const empty &, const empty &){ return true; }
17};
18
19template class ::boost::container::stable_vector<empty>;
20volatile ::boost::container::stable_vector<empty> dummy;
21
22#include <boost/container/node_allocator.hpp>
23#include "movable_int.hpp"
24#include "dummy_test_allocator.hpp"
25
26namespace boost {
27namespace container {
28
29//Explicit instantiation to detect compilation errors
30template class stable_vector<test::movable_and_copyable_int,
31 test::simple_allocator<test::movable_and_copyable_int> >;
32
33template class stable_vector
34 < test::movable_and_copyable_int
35 , node_allocator<test::movable_and_copyable_int> >;
36
37template class stable_vector_iterator<int*, false>;
38template class stable_vector_iterator<int*, true >;
39
40}}
41
42int main()
43{
44 return 0;
45}
46

source code of boost/libs/container/test/explicit_inst_stable_vector_test.cpp