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 };