diff --git a/include/boost/lambda/detail/lambda_functors.hpp b/include/boost/lambda/detail/lambda_functors.hpp index db229ec..9ce29ad 100644 --- a/include/boost/lambda/detail/lambda_functors.hpp +++ b/include/boost/lambda/detail/lambda_functors.hpp @@ -308,6 +308,12 @@ struct result_of()> typedef typename boost::lambda::lambda_functor::nullary_return_type type; }; +template +struct result_of()> +{ + typedef typename boost::lambda::lambda_functor::nullary_return_type type; +}; + #endif template @@ -316,6 +322,12 @@ struct tr1_result_of()> typedef typename boost::lambda::lambda_functor::nullary_return_type type; }; +template +struct tr1_result_of()> +{ + typedef typename boost::lambda::lambda_functor::nullary_return_type type; +}; + } // is_placeholder