...世界上最受推崇和设计精良的 C++ 库项目之一。 — Herb Sutter 和 Andrei Alexandrescu,《C++ 编码规范
...世界上最受推崇和设计精良的 C++ 库项目之一。
boost::yap::argument
// In header: <boost/yap/algorithm.hpp> template<long long I, typename Expr> decltype(auto) argument(Expr && expr, hana::llong< I > i);
返回调用表达式中的第 i 个参数表达式。
等同于 get(expr, i + 1)。
get(expr, i + 1)
argument() 只有在 Expr 是 expr_kind::call 表达式时才有效。
argument()
expr_kind::call