folly::bind::args

The primitive for representing lists of bound args.

Synopsis

Declared in <folly/lang/bind/Bind.h>

template<typename...>
class args;

Description

Unary forms:

  • bind::args<V>: if V is already like_args, wraps that binding, unmodified.

  • bind::args<V&> or bind::args<V&&>: binds a reference preserving the value category of the input.

Plural bind::args<Ts...> is a concatenation of many like_args, equivalent to merge_update_args with std::identity.

Specializations

Name
args<T>
args<Ts...>

Deduction Guides

NameDescription
args<ext::deduce_args_t<Ts>...> Deduction guide for args.