fix some oversights

[SVN r17789]
This commit is contained in:
Aleksey Gurtovoy
2003-03-09 02:41:25 +00:00
parent cb8e80b207
commit 014b9da96b
2 changed files with 7 additions and 6 deletions

View File

@@ -18,6 +18,7 @@
#define BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED #define BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED
#include "boost/mpl/lambda_fwd.hpp" #include "boost/mpl/lambda_fwd.hpp"
#include "boost/mpl/int_fwd.hpp"
#include "boost/mpl/aux_/preprocessor/params.hpp" #include "boost/mpl/aux_/preprocessor/params.hpp"
#include "boost/mpl/aux_/lambda_arity_param.hpp" #include "boost/mpl/aux_/lambda_arity_param.hpp"
#include "boost/mpl/aux_/config/lambda.hpp" #include "boost/mpl/aux_/config/lambda.hpp"
@@ -30,7 +31,7 @@ template< \
> \ > \
struct lambda< \ struct lambda< \
name< BOOST_MPL_PP_PARAMS(i, T) > \ name< BOOST_MPL_PP_PARAMS(i, T) > \
BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(-1) \ BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(int_<-1>) \
> \ > \
{ \ { \
typedef name< BOOST_MPL_PP_PARAMS(i, T) > type; \ typedef name< BOOST_MPL_PP_PARAMS(i, T) > type; \

View File

@@ -26,28 +26,28 @@ template<
, typename T1 , typename T1
> >
typename arity_tag<1>::type typename arity_tag<1>::type
arity_helper(type_wrapper< F<T1>>,arity_tag<1 >); arity_helper(type_wrapper< F<T1> >,arity_tag<1 >);
template< template<
template< typename P1, typename P2 > class F template< typename P1, typename P2 > class F
, typename T1, typename T2 , typename T1, typename T2
> >
typename arity_tag<2>::type typename arity_tag<2>::type
arity_helper(type_wrapper< F<T1,T2>>,arity_tag<2 >); arity_helper(type_wrapper< F<T1,T2> >,arity_tag<2 >);
template< template<
template< typename P1, typename P2, typename P3 > class F template< typename P1, typename P2, typename P3 > class F
, typename T1, typename T2, typename T3 , typename T1, typename T2, typename T3
> >
typename arity_tag<3>::type typename arity_tag<3>::type
arity_helper(type_wrapper< F<T1,T2,T3>>,arity_tag<3 >); arity_helper(type_wrapper< F<T1,T2,T3> >,arity_tag<3 >);
template< template<
template< typename P1, typename P2, typename P3, typename P4 > class F template< typename P1, typename P2, typename P3, typename P4 > class F
, typename T1, typename T2, typename T3, typename T4 , typename T1, typename T2, typename T3, typename T4
> >
typename arity_tag<4>::type typename arity_tag<4>::type
arity_helper(type_wrapper< F<T1,T2,T3,T4>>,arity_tag<4 >); arity_helper(type_wrapper< F<T1,T2,T3,T4> >,arity_tag<4 >);
template< template<
template< template<
@@ -58,7 +58,7 @@ template<
, typename T1, typename T2, typename T3, typename T4, typename T5 , typename T1, typename T2, typename T3, typename T4, typename T5
> >
typename arity_tag<5>::type typename arity_tag<5>::type
arity_helper(type_wrapper< F<T1,T2,T3,T4,T5>>,arity_tag<5 >); arity_helper(type_wrapper< F<T1,T2,T3,T4,T5> >,arity_tag<5 >);
template< typename F, int N > template< typename F, int N >
struct template_arity_impl struct template_arity_impl