Constructs an AnyInvocable from an invocable object.
Declared in <absl/functional/any_invocable.h>
template<class F>
requires internal_any_invocable::CanConvert<Sig, F>::value
AnyInvocable(F&& f);
Upon construction, *this is only empty if f is a function pointer or member pointer type and is null, or if f is an AnyInvocable that is empty.
| Name | Description |
|---|---|
| f | The invocable object to wrap. |