1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
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_SIZE_IMPL_09242011_1744)
8 #define BOOST_FUSION_SIZE_IMPL_09242011_1744
10 #include <boost/fusion/support/config.hpp>
12 #include <boost/mpl/int.hpp>
13 #include <boost/type_traits/remove_const.hpp>
15 namespace boost { namespace fusion
25 struct size_impl<std_tuple_tag>
27 template <typename Sequence>
29 mpl::int_<std::tuple_size<
30 typename remove_const<Sequence>::type>::value