sequence_facade.hpp 1.0 KB

123456789101112131415161718192021222324252627282930
  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_SEQUENCE_FACADE_09252006_1044)
  7. #define FUSION_SEQUENCE_FACADE_09252006_1044
  8. #include <boost/fusion/support/config.hpp>
  9. #include <boost/fusion/support/sequence_base.hpp>
  10. #include <boost/mpl/bool.hpp>
  11. namespace boost { namespace fusion
  12. {
  13. struct sequence_facade_tag;
  14. template <typename Derived, typename Category, typename IsView = mpl::false_>
  15. struct sequence_facade : sequence_base<Derived>
  16. {
  17. typedef fusion_sequence_tag tag;
  18. typedef sequence_facade_tag fusion_tag;
  19. typedef Derived derived_type;
  20. typedef Category category;
  21. typedef IsView is_view;
  22. typedef mpl::false_ is_segmented;
  23. };
  24. }}
  25. #endif