blob: cef622de983b82b2b58fd9b31af584eabc1c87c1 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001
2// NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
3
4// Copyright Aleksey Gurtovoy 2002-2004
5//
6// Distributed under the Boost Software License, Version 1.0.
7// (See accompanying file LICENSE_1_0.txt or copy at
8// http://www.boost.org/LICENSE_1_0.txt)
9
Jeff Thompson2277ce52013-08-01 17:34:11 -070010#include <ndnboost/mpl/int.hpp>
11#include <ndnboost/mpl/aux_/template_arity_fwd.hpp>
12#include <ndnboost/mpl/aux_/preprocessor/params.hpp>
13#include <ndnboost/mpl/aux_/config/lambda.hpp>
14#include <ndnboost/mpl/aux_/config/overload_resolution.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070015
16#if defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \
17 && defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION)
18# define BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(i, name) \
19namespace mpl { namespace aux { \
20template< BOOST_MPL_PP_PARAMS(i, typename T) > \
21struct template_arity< \
22 name< BOOST_MPL_PP_PARAMS(i, T) > \
23 > \
24 : int_<i> \
25{ \
26}; \
27}} \
28/**/
29#else
30# define BOOST_TT_AUX_TEMPLATE_ARITY_SPEC(i, name) /**/
31#endif