category_of_impl.hpp 912 B

1234567891011121314151617181920212223242526272829303132
  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(BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726)
  7. #define BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726
  8. namespace boost { namespace fusion
  9. {
  10. struct boost_tuple_tag;
  11. struct forward_traversal_tag;
  12. namespace extension
  13. {
  14. template<typename T>
  15. struct category_of_impl;
  16. template<>
  17. struct category_of_impl<boost_tuple_tag>
  18. {
  19. template<typename T>
  20. struct apply
  21. {
  22. typedef forward_traversal_tag type;
  23. };
  24. };
  25. }
  26. }}
  27. #endif