1 /*=============================================================================
2 Copyright (c) 2010 Christopher Schmidt
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 ==============================================================================*/
8 #ifndef BOOST_FUSION_ADAPTED_ARRAY_SIZE_IMPL_HPP
9 #define BOOST_FUSION_ADAPTED_ARRAY_SIZE_IMPL_HPP
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/type_traits/rank.hpp>
13 #include <boost/type_traits/extent.hpp>
15 namespace boost { namespace fusion { namespace extension
21 struct size_impl<po_array_tag>
23 template<typename Seq>
25 : extent<Seq,rank<Seq>::value-1>