boost::proto::generator::result<This(Expr)>
// In header: <boost/proto/generate.hpp> template<typename This, typename Expr> struct result<This(Expr)> { // types typedef Extends< Expr > type; };