From 00f785c600cab4b1bcce95c017d58d7a2aeb61a3 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Mon, 20 Dec 2004 17:18:17 +0000 Subject: [PATCH] MSVC fixes [SVN r26557] --- include/boost/mpl/transform.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/boost/mpl/transform.hpp b/include/boost/mpl/transform.hpp index 5a01454..76c49d8 100644 --- a/include/boost/mpl/transform.hpp +++ b/include/boost/mpl/transform.hpp @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include @@ -122,7 +122,7 @@ template< \ > \ struct name \ { \ - typedef typename if_< \ + typedef typename eval_if< \ or_< \ is_na \ , is_lambda_expression< Seq2OrOperation > \ @@ -130,8 +130,7 @@ struct name \ > \ , name##1 \ , name##2 \ - >::type t1; \ - typedef typename t1::type type; \ + >::type type; \ }; \ BOOST_MPL_AUX_NA_SPEC(4, name) \ /**/