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/container/vector/vector10_fwd.hpp>
11 #include <boost/fusion/support/sequence_base.hpp>
12 #include <boost/fusion/support/detail/access.hpp>
13 #include <boost/fusion/iterator/next.hpp>
14 #include <boost/fusion/iterator/deref.hpp>
15 #include <boost/fusion/sequence/intrinsic/begin.hpp>
16 #include <boost/fusion/container/vector/detail/at_impl.hpp>
17 #include <boost/fusion/container/vector/detail/value_at_impl.hpp>
18 #include <boost/fusion/container/vector/detail/begin_impl.hpp>
19 #include <boost/fusion/container/vector/detail/end_impl.hpp>
21 #include <boost/mpl/void.hpp>
22 #include <boost/mpl/int.hpp>
23 #include <boost/mpl/bool.hpp>
24 #include <boost/mpl/at.hpp>
25 #include <boost/mpl/vector/vector10.hpp>
26 #include <boost/type_traits/is_convertible.hpp>
27 #include <boost/utility/enable_if.hpp>
29 #include <boost/preprocessor/dec.hpp>
30 #include <boost/preprocessor/iteration/iterate.hpp>
31 #include <boost/preprocessor/repetition/enum.hpp>
32 #include <boost/preprocessor/repetition/enum_shifted.hpp>
33 #include <boost/preprocessor/repetition/enum_params.hpp>
34 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
35 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
37 namespace boost { namespace fusion
40 struct fusion_sequence_tag;
41 struct random_access_traversal_tag;
43 template <typename Dummy>
44 struct vector0 : sequence_base<vector0<Dummy> >
46 typedef mpl::vector0<> types;
47 typedef vector_tag fusion_tag;
48 typedef fusion_sequence_tag tag; // this gets picked up by MPL
49 typedef mpl::false_ is_view;
50 typedef random_access_traversal_tag category;
51 typedef mpl::int_<0> size;
55 template<typename Sequence>
56 vector0(Sequence const& /*seq*/)
61 #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
62 #include <boost/fusion/container/vector/detail/preprocessed/vector10.hpp>
64 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
65 #pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector10.hpp")
68 /*=============================================================================
69 Copyright (c) 2001-2011 Joel de Guzman
71 Distributed under the Boost Software License, Version 1.0. (See accompanying
72 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
74 This is an auto-generated file. Do not edit!
75 ==============================================================================*/
77 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
78 #pragma wave option(preserve: 1)
81 namespace boost { namespace fusion
84 // expand vector1 to vector10
85 #define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
86 #define BOOST_PP_ITERATION_LIMITS (1, 10)
87 #include BOOST_PP_ITERATE()
91 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
92 #pragma wave option(output: null)
95 #endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES