]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/test/sequence/std_tuple_iterator.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / std_tuple_iterator.cpp
1 /*=============================================================================
2 Copyright (c) 2001-2011 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 #include <boost/config.hpp>
8
9 // The std_tuple_iterator adaptor only supports implementations
10 // using variadic templates
11 #if !defined(BOOST_NO_CXX11_HDR_TUPLE) && \
12 !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)
13
14 #include <boost/fusion/adapted/std_tuple.hpp>
15
16 #define FUSION_SEQUENCE std::tuple
17 #define FUSION_TRAVERSAL_TAG random_access_traversal_tag
18 #include "./iterator.hpp"
19
20 int
21 main()
22 {
23 test();
24 return boost::report_errors();
25 }
26
27 #else
28
29 int
30 main()
31 {
32 return 0;
33 }
34
35 #endif
36