]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/container/test/explicit_inst_deque_test.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / container / test / explicit_inst_deque_test.cpp
CommitLineData
7c673cae
FG
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/deque.hpp>
92f5a8d4
TL
12#include <boost/container/allocator.hpp>
13#include "movable_int.hpp"
14#include "dummy_test_allocator.hpp"
15
7c673cae
FG
16
17struct empty
18{
19 friend bool operator == (const empty &, const empty &){ return true; }
20 friend bool operator < (const empty &, const empty &){ return true; }
21};
22
23template class ::boost::container::deque<empty>;
24
92f5a8d4
TL
25volatile ::boost::container::deque<empty> dummy;
26
27namespace boost {
28namespace container {
29
30//Explicit instantiation to detect compilation errors
31template class boost::container::deque
32 < test::movable_and_copyable_int
33 , test::simple_allocator<test::movable_and_copyable_int> >;
34
35template class boost::container::deque
36 < test::movable_and_copyable_int
37 , allocator<test::movable_and_copyable_int> >;
38
39} //namespace boost {
40} //namespace container {
41
7c673cae
FG
42int main()
43{
7c673cae
FG
44 return 0;
45}
92f5a8d4 46