category_of_impl.hpp 894 B

1234567891011121314151617181920212223242526272829303132
  1. /*=============================================================================
  2. Copyright (c) 2010 Christopher Schmidt
  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. #ifndef BOOST_FUSION_ADAPTED_ARRAY_CATEGORY_OF_IMPL_HPP
  7. #define BOOST_FUSION_ADAPTED_ARRAY_CATEGORY_OF_IMPL_HPP
  8. namespace boost { namespace fusion
  9. {
  10. struct random_access_traversal_tag;
  11. namespace extension
  12. {
  13. template<typename>
  14. struct category_of_impl;
  15. template<>
  16. struct category_of_impl<po_array_tag>
  17. {
  18. template<typename Seq>
  19. struct apply
  20. {
  21. typedef random_access_traversal_tag type;
  22. };
  23. };
  24. }
  25. }}
  26. #endif