1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2005-2006 Dan Marsden
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(BOOST_FUSION_STD_ARRAY_AT_IMPL_01062013_1700)
9 #define BOOST_FUSION_STD_ARRAY_AT_IMPL_01062013_1700
11 #include <boost/type_traits/is_const.hpp>
13 #include <boost/mpl/if.hpp>
15 namespace boost { namespace fusion {
25 struct at_impl<std_array_tag>
27 template<typename Sequence, typename N>
30 typedef typename mpl::if_<
32 typename Sequence::const_reference,
33 typename Sequence::reference>::type type;