From b6e98cdd5a01e8c82ee818710102ad3e2d941441 Mon Sep 17 00:00:00 2001 From: Neil Groves Date: Tue, 11 May 2010 18:30:04 +0000 Subject: [PATCH] Fixed defect that showed up with Visual C++ 10. This has been affecting numerous libraries as a knock-on effect. [SVN r61916] --- include/boost/mpl/eval_if.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/mpl/eval_if.hpp b/include/boost/mpl/eval_if.hpp index 442194f..18d6a64 100644 --- a/include/boost/mpl/eval_if.hpp +++ b/include/boost/mpl/eval_if.hpp @@ -39,6 +39,7 @@ struct eval_if #else : if_::type { + typedef typename if_::type type; #endif BOOST_MPL_AUX_LAMBDA_SUPPORT(3,eval_if,(C,F1,F2)) }; @@ -61,6 +62,7 @@ struct eval_if_c #else : if_c::type { + typedef typename if_c::type type; #endif };