From e271bc104c485f920a52bd8eacac68a3dd48d918 Mon Sep 17 00:00:00 2001 From: Arkadiy Vertleyb Date: Sun, 4 Dec 2005 20:37:23 +0000 Subject: [PATCH] possible >> problem during macro expansion [SVN r31910] --- include/boost/typeof/template_template_param.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/typeof/template_template_param.hpp b/include/boost/typeof/template_template_param.hpp index b495106..870c92e 100755 --- a/include/boost/typeof/template_template_param.hpp +++ b/include/boost/typeof/template_template_param.hpp @@ -24,7 +24,7 @@ //Encode / decode this #define BOOST_TYPEOF_TEMPLATE_PARAM_ENCODE(This, n)\ typedef typename encode_template\ + BOOST_PP_CAT(P, n)\ >::type BOOST_PP_CAT(V, BOOST_PP_INC(n)); #define BOOST_TYPEOF_TEMPLATE_PARAM_DECODE(This, n)\ @@ -34,7 +34,7 @@ // template class #define BOOST_TYPEOF_TEMPLATE_PARAM_EXPANDTYPE(This) \ - template class + template class #define BOOST_TYPEOF_TEMPLATE_PARAM_PLACEHOLDER(Param)\ Nested_Template_Template_Arguments_Not_Supported @@ -44,7 +44,7 @@ // T3 #define BOOST_TYPEOF_TEMPLATE_PARAM_PLACEHOLDER_TYPES(Param, n)\ - BOOST_PP_CAT(T,n) + BOOST_PP_CAT(T,n) #define BOOST_TYPEOF_TEMPLATE_PARAM_ISTEMPLATE 1 @@ -88,7 +88,7 @@ namespace boost template struct decode_template_impl, Iter>\ {\ BOOST_PP_REPEAT(BOOST_PP_SEQ_SIZE(Params),BOOST_TYPEOF_TYPEDEF_INT_PN,_)\ - typedef Name type;\ + typedef Name type;\ typedef Iter iter;\ }; @@ -98,9 +98,9 @@ namespace boost //Template template param decoding #define BOOST_TYPEOF_TYPEDEF_DECODED_TEMPLATE_TEMPLATE_TYPE(Name,Params)\ - template\ + template\ struct decode_params;\ - template\ + template\ struct decode_params\ {\ typedef Name type;\