[#absl-AnyInvocable-2constructor-00] = xref:absl.adoc[absl]::xref:absl/AnyInvocable.adoc[AnyInvocable]::AnyInvocable :relfileprefix: ../../ :mrdocs: Constructs an `AnyInvocable` from an invocable object. == Synopsis Declared in `<absl/functional/any_invocable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class F> requires internal_any_invocable::CanConvert<Sig, F>::value AnyInvocable(F&& f); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *f* | The invocable object to wrap. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#