boost::proto::result_of::eval — 一个元函数,用于根据给定的 Expr
和 Context
类型计算 proto::eval()
的返回类型。
// In header: <boost/proto/eval.hpp> template<typename Expr, typename Context> struct eval { // types typedef typename Context::template eval< Expr >::result_type type; };