Ticket #2246: Phoenix2_lazy.diff
File Phoenix2_lazy.diff, 1008 bytes (added by , 14 years ago) |
---|
-
boost/spirit/home/phoenix/core/detail/function_eval.hpp
32 32 template <typename Env, typename F> 33 33 struct result 34 34 { 35 typedef typename F::template result<Env>::type function;35 typedef typename remove_reference< typename F::template result<Env>::type >::type function; 36 36 typedef typename function::result_type type; 37 37 }; 38 38 … … 96 96 , BOOST_PP_ENUM_PARAMS(N, typename A)> 97 97 struct result 98 98 { 99 typedef typename F::template result<Env>::type function;99 typedef typename remove_reference< typename F::template result<Env>::type >::type function; 100 100 BOOST_PP_REPEAT(N, PHOENIX_GET_ARG, _) 101 101 102 102 typedef BOOST_PP_CAT(mpl::vector, N)