boost::proto::listN — proto::list1<>、proto::list2<> 等,是作为 proto::expr<> 或 proto::basic_expr<> 类模板的第二个参数使用的类型序列。
// In header: <boost/proto/args.hpp> template<typename... Arg> struct listN { // types typedef ArgMchildM; // For eachMin[0,N)// public data members static const long arity; //= N;};
类型序列,用作 proto::expr<> 或 proto::basic_expr<> 类模板的第二个参数。序列中的类型对应于表达式树中节点的子节点。并没有一个字面名为 "listN" 的类型;而是一组名为 proto::list1<>、proto::list2<> 等的类型。