value_at_impl.hpp 955 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_STD_ARRAY_VALUE_AT_IMPL_01062013_1700)
  8. #define BOOST_FUSION_STD_ARRAY_VALUE_AT_IMPL_01062013_1700
  9. namespace boost { namespace fusion {
  10. struct std_array_tag;
  11. namespace extension
  12. {
  13. template<typename T>
  14. struct value_at_impl;
  15. template <>
  16. struct value_at_impl<std_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