]>
Commit | Line | Data |
---|---|---|
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 | # error "does not meet requirements" | |
14 | #endif | |
15 | ||
16 | #include <boost/fusion/adapted/std_tuple.hpp> | |
17 | ||
18 | #define FUSION_SEQUENCE std::tuple | |
19 | #define FUSION_TRAVERSAL_TAG random_access_traversal_tag | |
20 | #include "./iterator.hpp" | |
21 | ||
22 | int main() | |
23 | { | |
24 | test(); | |
25 | return boost::report_errors(); | |
26 | } |