value_of_impl.hpp 828 B

12345678910111213141516171819202122232425262728
  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_VALUE_OF_IMPL_HPP
  7. #define BOOST_FUSION_ADAPTED_ARRAY_VALUE_OF_IMPL_HPP
  8. #include <boost/type_traits/remove_extent.hpp>
  9. namespace boost { namespace fusion { namespace extension
  10. {
  11. template <typename>
  12. struct value_of_impl;
  13. template <>
  14. struct value_of_impl<po_array_iterator_tag>
  15. {
  16. template <typename It>
  17. struct apply
  18. : remove_extent<typename It::seq_type>
  19. {};
  20. };
  21. }}}
  22. #endif