Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / fusion / test / sequence / deque_move.cpp
1 /*=============================================================================
2     Copyright (c) 2012 Joel de Guzman
3
4     Distributed under the Boost Software License, Version 1.0. (See accompanying
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #define BOOST_FUSION_DONT_USE_PREPROCESSED_FILES // $$$ JDG temp $$$
8
9
10 #include <boost/config.hpp>
11
12 #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
13
14 #include <boost/fusion/container/deque/deque.hpp>
15
16 #define FUSION_SEQUENCE boost::fusion::deque<std::vector<x>>
17 #define FUSION_SEQUENCE2 boost::fusion::deque<std::vector<x>, x>
18
19 #include "move.hpp"
20
21 #else
22 #include <boost/detail/lightweight_test.hpp>
23 #endif
24
25 int
26 main()
27 {
28 #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
29     test();
30 #endif
31
32     return boost::report_errors();
33 }
34