Boost C++ 库

...世界上最受推崇和设计精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu,《C++ 编码规范

结构模板 arity_of - Boost C++ 函数库
PrevUpHomeNext

结构模板 arity_of

boost::proto::arity_of — 一个元函数,返回 Proto 表达式的元数。

提要

// In header: <boost/proto/traits.hpp>

template<typename Expr> 
struct arity_of :  Expr::proto_arity {
};

PrevUpHomeNext