value_at_impl.hpp 939 B

1234567891011121314151617181920212223242526272829303132
  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_VALUE_AT_IMPL_27122005_1256)
  8. #define BOOST_FUSION_VALUE_AT_IMPL_27122005_1256
  9. namespace boost { namespace fusion {
  10. struct boost_array_tag;
  11. namespace extension
  12. {
  13. template<typename T>
  14. struct value_at_impl;
  15. template <>
  16. struct value_at_impl<boost_array_tag>
  17. {
  18. template <typename Sequence, typename N>
  19. struct apply
  20. {
  21. typedef typename Sequence::value_type type;
  22. };
  23. };
  24. }
  25. }}
  26. #endif