1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
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 #if !defined(FUSION_VECTOR10_05042005_0257)
8 #define FUSION_VECTOR10_05042005_0257
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp>
12 #include <boost/fusion/support/sequence_base.hpp>
13 #include <boost/fusion/support/is_sequence.hpp>
14 #include <boost/fusion/support/detail/access.hpp>
15 #include <boost/fusion/iterator/next.hpp>
16 #include <boost/fusion/iterator/deref.hpp>
17 #include <boost/fusion/sequence/intrinsic/begin.hpp>
18 #include <boost/fusion/container/vector/detail/at_impl.hpp>
19 #include <boost/fusion/container/vector/detail/value_at_impl.hpp>
20 #include <boost/fusion/container/vector/detail/begin_impl.hpp>
21 #include <boost/fusion/container/vector/detail/end_impl.hpp>
23 #include <boost/mpl/void.hpp>
24 #include <boost/mpl/int.hpp>
25 #include <boost/mpl/bool.hpp>
26 #include <boost/mpl/at.hpp>
27 #include <boost/mpl/vector/vector10.hpp>
28 #include <boost/type_traits/is_convertible.hpp>
29 #include <boost/utility/enable_if.hpp>
31 #include <boost/preprocessor/dec.hpp>
32 #include <boost/preprocessor/iteration/iterate.hpp>
33 #include <boost/preprocessor/repetition/enum.hpp>
34 #include <boost/preprocessor/repetition/enum_shifted.hpp>
35 #include <boost/preprocessor/repetition/enum_params.hpp>
36 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
37 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
39 namespace boost { namespace fusion
42 struct fusion_sequence_tag;
43 struct random_access_traversal_tag;
45 template <typename Dummy>
46 struct vector0 : sequence_base<vector0<Dummy> >
48 typedef mpl::vector0<> types;
49 typedef vector_tag fusion_tag;
50 typedef fusion_sequence_tag tag; // this gets picked up by MPL
51 typedef mpl::false_ is_view;
52 typedef random_access_traversal_tag category;
53 typedef mpl::int_<0> size;
55 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
56 vector0() BOOST_NOEXCEPT {}
58 template<typename Sequence>
59 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
60 vector0(Sequence const& /*seq*/) BOOST_NOEXCEPT
65 #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
66 #include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp>
68 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
69 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector10.hpp")
72 /*=============================================================================
73 Copyright (c) 2001-2011 Joel de Guzman
75 Distributed under the Boost Software License, Version 1.0. (See accompanying
76 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
78 This is an auto-generated file. Do not edit!
79 ==============================================================================*/
81 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
82 #pragma wave option(preserve: 1)
85 namespace boost { namespace fusion
88 struct fusion_sequence_tag;
89 struct random_access_traversal_tag;
92 // expand vector1 to vector10
93 #define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector_n.hpp>
94 #define BOOST_PP_ITERATION_LIMITS (1, 10)
95 #include BOOST_PP_ITERATE()
99 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
100 #pragma wave option(output: null)
103 #endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES