is_sequence_impl.hpp 926 B

12345678910111213141516171819202122232425262728293031323334
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  3. Copyright (c) 2005-2006 Dan Marsden
  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(BOOST_FUSION_IS_SEQUENCE_IMPL_20060228_1946)
  8. #define BOOST_FUSION_IS_SEQUENCE_IMPL_20060228_1946
  9. #include <boost/mpl/bool.hpp>
  10. namespace example
  11. {
  12. struct example_sequence_tag;
  13. }
  14. namespace boost { namespace fusion
  15. {
  16. namespace extension
  17. {
  18. template<typename Tag>
  19. struct is_sequence_impl;
  20. template<>
  21. struct is_sequence_impl<example::example_sequence_tag>
  22. {
  23. template<typename T>
  24. struct apply : mpl::true_ {};
  25. };
  26. }
  27. }}
  28. #endif