summaryrefslogtreecommitdiff
path: root/libs/fusion/test/sequence/std_tuple_iterator.cpp
blob: e33db3861a1f685d6adcdc8bf28b134750465bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*=============================================================================
    Copyright (c) 2001-2011 Joel de Guzman

    Distributed under the Boost Software License, Version 1.0. (See accompanying
    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================*/
#include <boost/config.hpp>

// The std_tuple_iterator adaptor only supports implementations
// using variadic templates
#if !defined(BOOST_NO_CXX11_HDR_TUPLE) && \
    !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES)

#include <boost/fusion/adapted/std_tuple.hpp>

#define FUSION_SEQUENCE std::tuple
#define FUSION_TRAVERSAL_TAG random_access_traversal_tag
#include "./iterator.hpp"

int
main()
{
    test();
    return boost::report_errors();
}

#else

int
main()
{
    return 0;
}

#endif