]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/test/sequence/map_move.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / map_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 #include <boost/config.hpp>
10
11 #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
12
13 #include <boost/fusion/container/map/map.hpp>
14
15 struct k1 {};
16 struct k2 {};
17
18 #define FUSION_SEQUENCE boost::fusion::map<boost::fusion::pair<k1, std::vector<x>>>
19
20 #define FUSION_SEQUENCE2 boost::fusion::map< \
21 boost::fusion::pair<k1, std::vector<x>>, \
22 boost::fusion::pair<k2, x>>
23
24 #include "move.hpp"
25
26 #else
27 #include <boost/detail/lightweight_test.hpp>
28 #endif
29
30 int
31 main()
32 {
33 #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES)
34 test();
35 #endif
36
37 return boost::report_errors();
38 }
39