From 014b9da96b310dcd1c31e2084d4f8bb6a569f3a2 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Sun, 9 Mar 2003 02:41:25 +0000 Subject: [PATCH] fix some oversights [SVN r17789] --- include/boost/mpl/aux_/lambda_spec.hpp | 3 ++- .../boost/mpl/aux_/preprocessed/gcc/template_arity.hpp | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/boost/mpl/aux_/lambda_spec.hpp b/include/boost/mpl/aux_/lambda_spec.hpp index 1595388..ebb618c 100644 --- a/include/boost/mpl/aux_/lambda_spec.hpp +++ b/include/boost/mpl/aux_/lambda_spec.hpp @@ -18,6 +18,7 @@ #define BOOST_MPL_AUX_LAMBDA_SPEC_HPP_INCLUDED #include "boost/mpl/lambda_fwd.hpp" +#include "boost/mpl/int_fwd.hpp" #include "boost/mpl/aux_/preprocessor/params.hpp" #include "boost/mpl/aux_/lambda_arity_param.hpp" #include "boost/mpl/aux_/config/lambda.hpp" @@ -30,7 +31,7 @@ template< \ > \ struct lambda< \ 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; \ diff --git a/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp b/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp index 1f5b77c..e279208 100644 --- a/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp +++ b/include/boost/mpl/aux_/preprocessed/gcc/template_arity.hpp @@ -26,28 +26,28 @@ template< , typename T1 > typename arity_tag<1>::type -arity_helper(type_wrapper< F>,arity_tag<1 >); +arity_helper(type_wrapper< F >,arity_tag<1 >); template< template< typename P1, typename P2 > class F , typename T1, typename T2 > typename arity_tag<2>::type -arity_helper(type_wrapper< F>,arity_tag<2 >); +arity_helper(type_wrapper< F >,arity_tag<2 >); template< template< typename P1, typename P2, typename P3 > class F , typename T1, typename T2, typename T3 > typename arity_tag<3>::type -arity_helper(type_wrapper< F>,arity_tag<3 >); +arity_helper(type_wrapper< F >,arity_tag<3 >); template< template< typename P1, typename P2, typename P3, typename P4 > class F , typename T1, typename T2, typename T3, typename T4 > typename arity_tag<4>::type -arity_helper(type_wrapper< F>,arity_tag<4 >); +arity_helper(type_wrapper< F >,arity_tag<4 >); template< template< @@ -58,7 +58,7 @@ template< , typename T1, typename T2, typename T3, typename T4, typename T5 > typename arity_tag<5>::type -arity_helper(type_wrapper< F>,arity_tag<5 >); +arity_helper(type_wrapper< F >,arity_tag<5 >); template< typename F, int N > struct template_arity_impl