From f26bc198d1f6aae7bf478d0bfadc7e6485fb0e00 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Mon, 9 Dec 2002 22:46:24 +0000 Subject: [PATCH] get rid of the C4099 warning on MSVC [SVN r16577] --- include/boost/mpl/aux_/lambda_support.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/mpl/aux_/lambda_support.hpp b/include/boost/mpl/aux_/lambda_support.hpp index c95cda2..b0537ef 100644 --- a/include/boost/mpl/aux_/lambda_support.hpp +++ b/include/boost/mpl/aux_/lambda_support.hpp @@ -52,8 +52,9 @@ # define BOOST_MPL_AUX_LAMBDA_SUPPORT(i, name, params) \ BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(i, name, params) \ }; \ -struct BOOST_PP_CAT(name,_rebind) \ +class BOOST_PP_CAT(name,_rebind) \ { \ + public: \ template< BOOST_MPL_PP_PARAMS(i,typename U) > struct apply \ : name< BOOST_MPL_PP_PARAMS(i,U) > \ { \ @@ -63,8 +64,9 @@ struct BOOST_PP_CAT(name,_rebind) \ # define BOOST_MPL_AUX_LAMBDA_SUPPORT(i, name, params) \ BOOST_MPL_AUX_LAMBDA_SUPPORT_SPEC(i, name, params) \ }; \ -struct BOOST_PP_CAT(name,_rebind) \ +class BOOST_PP_CAT(name,_rebind) \ { \ + public: \ template< BOOST_MPL_PP_PARAMS(i,typename U) > struct apply \ { \ typedef typename name< BOOST_MPL_PP_PARAMS(i,U) >::type type; \