/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. 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/support/sequence_base.hpp>
  9. #include <boost/fusion/support/detail/access.hpp>
  10. #include <boost/fusion/iterator/next.hpp>
  11. #include <boost/fusion/iterator/deref.hpp>
  12. #include <boost/fusion/sequence/intrinsic/begin.hpp>
  13. #include <boost/fusion/container/vector/detail/at_impl.hpp>
  14. #include <boost/fusion/container/vector/detail/value_at_impl.hpp>
  15. #include <boost/fusion/container/vector/detail/begin_impl.hpp>
  16. #include <boost/fusion/container/vector/detail/end_impl.hpp>
  17. #include <boost/mpl/void.hpp>
  18. #include <boost/mpl/int.hpp>
  19. #include <boost/mpl/bool.hpp>
  20. #include <boost/mpl/at.hpp>
  21. #include <boost/mpl/vector/vector10.hpp>
  22. #include <boost/type_traits/is_convertible.hpp>
  23. #include <boost/utility/enable_if.hpp>
  24. #include <boost/preprocessor/dec.hpp>
  25. #include <boost/preprocessor/iteration/iterate.hpp>
  26. #include <boost/preprocessor/repetition/enum.hpp>
  27. #include <boost/preprocessor/repetition/enum_shifted.hpp>
  28. #include <boost/preprocessor/repetition/enum_params.hpp>
  29. #include <boost/preprocessor/repetition/enum_binary_params.hpp>
  30. #include <boost/preprocessor/repetition/repeat_from_to.hpp>
  31. namespace boost { namespace fusion
  32. {
  33. struct vector_tag;
  34. struct fusion_sequence_tag;
  35. struct random_access_traversal_tag;
  36. template <typename Dummy = void>
  37. struct vector0 : sequence_base<vector0<Dummy> >
  38. {
  39. typedef mpl::vector0<> types;
  40. typedef vector_tag fusion_tag;
  41. typedef fusion_sequence_tag tag; // this gets picked up by MPL
  42. typedef mpl::false_ is_view;
  43. typedef random_access_traversal_tag category;
  44. typedef mpl::int_<0> size;
  45. vector0() {}
  46. template<typename Sequence>
  47. vector0(Sequence const& /*seq*/)
  48. {}
  49. };
  50. // expand vector1 to vector10
  51. #define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
  52. #define BOOST_PP_ITERATION_LIMITS (1, 10)
  53. #include BOOST_PP_ITERATE()
  54. }}
  55. #endif