[#absl-AnyInvocable-operator_assign-0f] = xref:absl.adoc[absl]::xref:absl/AnyInvocable.adoc[AnyInvocable]::operator= :relfileprefix: ../../ :mrdocs: Assigns an `AnyInvocable` from a reference to an invocable object. Upon assignment, stores a reference to the invocable object in the `AnyInvocable` instance. == Synopsis Declared in `<absl/functional/any_invocable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class F> requires internal_any_invocable::CanAssignReferenceWrapper<Sig, F>::value xref:absl/AnyInvocable.adoc[AnyInvocable]& operator=(std::reference_wrapper<F> f) noexcept; ---- == Return Value A reference to `*this`. == Parameters [cols="1,4"] |=== | Name| Description | *f* | The invocable object to reference. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#