vector10.hpp 3.4 KB

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