diff --git a/include/boost/mpl/transform.hpp b/include/boost/mpl/transform.hpp index 781ea64..4049c6c 100644 --- a/include/boost/mpl/transform.hpp +++ b/include/boost/mpl/transform.hpp @@ -121,7 +121,8 @@ template< \ , typename BOOST_MPL_AUX_NA_PARAM(Inserter) \ > \ struct name \ - : if_< \ +{ \ + typedef typename if_< \ or_< \ is_na \ , is_lambda_expression< Seq2OrOperation > \ @@ -129,8 +130,7 @@ struct name \ > \ , name##1 \ , name##2 \ - >::type \ -{ \ + >::type type; \ }; \ BOOST_MPL_AUX_NA_SPEC(4, name) \ /**/