From d883ad51d8894451235399215c99c2d2ddec7ef5 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Thu, 28 Nov 2002 07:01:19 +0000 Subject: [PATCH] 'apply' ETI workaround tweaks [SVN r16452] --- include/boost/mpl/apply.hpp | 4 ++-- include/boost/mpl/aux_/preprocessed/msvc60/apply.hpp | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/boost/mpl/apply.hpp b/include/boost/mpl/apply.hpp index 2d3c9c5..52f8ebb 100644 --- a/include/boost/mpl/apply.hpp +++ b/include/boost/mpl/apply.hpp @@ -188,7 +188,7 @@ struct apply0< arg<-1> > template<> struct apply0 { - typedef apply0 type; + typedef int type; }; #endif @@ -261,7 +261,7 @@ struct BOOST_PP_CAT(apply,i) template<> struct BOOST_PP_CAT(apply,i) { - typedef BOOST_PP_CAT(apply,i) type; + typedef int type; }; #endif diff --git a/include/boost/mpl/aux_/preprocessed/msvc60/apply.hpp b/include/boost/mpl/aux_/preprocessed/msvc60/apply.hpp index c81869a..5839e57 100644 --- a/include/boost/mpl/aux_/preprocessed/msvc60/apply.hpp +++ b/include/boost/mpl/aux_/preprocessed/msvc60/apply.hpp @@ -22,7 +22,7 @@ struct apply0< arg<-1> > template<> struct apply0 { - typedef apply0 type; + typedef int type; }; namespace aux { @@ -61,7 +61,7 @@ struct apply1 template<> struct apply1< int,int > { - typedef apply1 type; + typedef int type; }; template<> @@ -114,7 +114,7 @@ struct apply2 template<> struct apply2< int,int,int > { - typedef apply2 type; + typedef int type; }; template<> @@ -167,7 +167,7 @@ struct apply3 template<> struct apply3< int,int,int,int > { - typedef apply3 type; + typedef int type; }; template<> @@ -226,7 +226,7 @@ struct apply4 template<> struct apply4< int,int,int,int,int > { - typedef apply4 type; + typedef int type; }; template<> @@ -288,7 +288,7 @@ struct apply5 template<> struct apply5< int,int,int,int,int,int > { - typedef apply5 type; + typedef int type; }; template<>