Overload of the above constructor to support list-initialization.
Declared in <absl/functional/any_invocable.h>
template<
class T,
class U,
class... Args>
requires internal_any_invocable::CanEmplace<
Sig, T, std::initializer_list<U>&, Args...>::value
explicit
AnyInvocable(
std::in_place_type_t<T> tag,
std::initializer_list<U> ilist,
Args&&... args);
| Name | Description |
|---|---|
| ilist | Initializer list forwarded to the constructor of T. |
| args | Additional arguments forwarded to the constructor of T. |
| tag | A tag that selects this overload. |