PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/fusion/container/vector/vector10.hpp

http://hadesmem.googlecode.com/
C++ Header | 67 lines | 49 code | 11 blank | 7 comment | 0 complexity | e6ef5301142edee505fdb06ae77da6f1 MD5 | raw file
 1/*=============================================================================
 2    Copyright (c) 2001-2006 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#if !defined(FUSION_VECTOR10_05042005_0257)
 8#define FUSION_VECTOR10_05042005_0257
 9
10#include <boost/fusion/support/sequence_base.hpp>
11#include <boost/fusion/support/detail/access.hpp>
12#include <boost/fusion/iterator/next.hpp>
13#include <boost/fusion/iterator/deref.hpp>
14#include <boost/fusion/sequence/intrinsic/begin.hpp>
15#include <boost/fusion/container/vector/detail/at_impl.hpp>
16#include <boost/fusion/container/vector/detail/value_at_impl.hpp>
17#include <boost/fusion/container/vector/detail/begin_impl.hpp>
18#include <boost/fusion/container/vector/detail/end_impl.hpp>
19
20#include <boost/mpl/void.hpp>
21#include <boost/mpl/int.hpp>
22#include <boost/mpl/bool.hpp>
23#include <boost/mpl/at.hpp>
24#include <boost/mpl/vector/vector10.hpp>
25#include <boost/type_traits/is_convertible.hpp>
26#include <boost/utility/enable_if.hpp>
27
28#include <boost/preprocessor/dec.hpp>
29#include <boost/preprocessor/iteration/iterate.hpp>
30#include <boost/preprocessor/repetition/enum.hpp>
31#include <boost/preprocessor/repetition/enum_shifted.hpp>
32#include <boost/preprocessor/repetition/enum_params.hpp>
33#include <boost/preprocessor/repetition/enum_binary_params.hpp>
34#include <boost/preprocessor/repetition/repeat_from_to.hpp>
35
36namespace boost { namespace fusion
37{
38    struct vector_tag;
39    struct fusion_sequence_tag;
40    struct random_access_traversal_tag;
41
42    template <typename Dummy = void>
43    struct vector0 : sequence_base<vector0<Dummy> >
44    {
45        typedef mpl::vector0<> types;
46        typedef vector_tag fusion_tag;
47        typedef fusion_sequence_tag tag; // this gets picked up by MPL
48        typedef mpl::false_ is_view;
49        typedef random_access_traversal_tag category;
50        typedef mpl::int_<0> size;
51
52        vector0() {}
53
54        template<typename Sequence>
55        vector0(Sequence const& /*seq*/)
56        {}
57    };
58
59// expand vector1 to vector10
60#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
61#define BOOST_PP_ITERATION_LIMITS (1, 10)
62#include BOOST_PP_ITERATE()
63
64}}
65
66#endif
67