1 /*=============================================================================
2 Copyright (c) 2013 Mateusz Loskot
3 Copyright (c) 2001-2011 Joel de Guzman
4 Copyright (c) 2005-2006 Dan Marsden
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
9 #if !defined(BOOST_FUSION_STD_ARRAY_END_OF_IMPL_01062013_1700)
10 #define BOOST_FUSION_STD_ARRAY_END_OF_IMPL_01062013_1700
12 #include <boost/fusion/adapted/std_array/std_array_iterator.hpp>
13 #include <boost/fusion/adapted/std_array/detail/array_size.hpp>
14 #include <boost/type_traits/remove_const.hpp>
16 namespace boost { namespace fusion {
22 template <typename Tag>
26 struct end_impl<std_array_tag>
28 template <typename Sequence>
31 typedef typename remove_const<Sequence>::type seq_type;
32 static int const size = std_array_size<seq_type>::value;
33 typedef std_array_iterator<Sequence, size> type;