[857] | 1 | /*=============================================================================
|
---|
| 2 | Copyright (c) 2001-2003 Joel de Guzman
|
---|
| 3 |
|
---|
| 4 | Use, modification and distribution is subject to the Boost Software
|
---|
| 5 | License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
---|
| 6 | http://www.boost.org/LICENSE_1_0.txt)
|
---|
| 7 | ==============================================================================*/
|
---|
| 8 | #if !defined(FUSION_SEQUENCE_TUPLE40_HPP)
|
---|
| 9 | #define FUSION_SEQUENCE_TUPLE40_HPP
|
---|
| 10 |
|
---|
| 11 | #include <boost/spirit/fusion/detail/config.hpp>
|
---|
| 12 | #include <boost/spirit/fusion/detail/access.hpp>
|
---|
| 13 | #include <boost/spirit/fusion/iterator/tuple_iterator.hpp>
|
---|
| 14 | #include <boost/spirit/fusion/sequence/detail/tuple_macro.hpp>
|
---|
| 15 | #include <boost/spirit/fusion/sequence/detail/tuple_access_result.hpp>
|
---|
| 16 | #include <boost/spirit/fusion/sequence/detail/tuple_value_at_traits.hpp>
|
---|
| 17 | #include <boost/spirit/fusion/sequence/detail/tuple_at_traits.hpp>
|
---|
| 18 | #include <boost/spirit/fusion/sequence/detail/tuple_size_traits.hpp>
|
---|
| 19 | #include <boost/spirit/fusion/sequence/detail/tuple_begin_end_traits.hpp>
|
---|
| 20 | #include <boost/spirit/fusion/sequence/detail/sequence_base.hpp>
|
---|
| 21 | #include <boost/spirit/fusion/iterator/next.hpp>
|
---|
| 22 | #include <boost/mpl/bool.hpp>
|
---|
| 23 | #include <boost/mpl/at.hpp>
|
---|
| 24 | #include <boost/mpl/int.hpp>
|
---|
| 25 | #include <boost/mpl/vector/vector40.hpp>
|
---|
| 26 | #include <boost/preprocessor/iteration/iterate.hpp>
|
---|
| 27 |
|
---|
| 28 | #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
---|
| 29 | # include <boost/spirit/fusion/iterator/next.hpp>
|
---|
| 30 | #endif
|
---|
| 31 |
|
---|
| 32 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 33 | //
|
---|
| 34 | // See tuple10.hpp and detail/tuple10.ipp. The following code are
|
---|
| 35 | // expansions of the tuple_access<N> and tupleN+1 classes for N = 30..40.
|
---|
| 36 | //
|
---|
| 37 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 38 | namespace boost { namespace fusion
|
---|
| 39 | {
|
---|
| 40 | namespace detail
|
---|
| 41 | {
|
---|
| 42 | BOOST_PP_REPEAT_FROM_TO(30, 40, FUSION_TUPLE_N_ACCESS, _)
|
---|
| 43 | }
|
---|
| 44 |
|
---|
| 45 | struct tuple_tag;
|
---|
| 46 |
|
---|
| 47 | # define BOOST_PP_ITERATION_PARAMS_1 (3, (31, 40, <boost/spirit/fusion/sequence/detail/tuple_body.hpp>))
|
---|
| 48 | # include BOOST_PP_ITERATE()
|
---|
| 49 | }}
|
---|
| 50 |
|
---|
| 51 | #endif
|
---|