[#absl-AnyInvocable-operator_assign-0f]
= xref:absl.adoc[absl]::xref:absl/AnyInvocable.adoc[AnyInvocable]::operator&equals;
:relfileprefix: ../../
:mrdocs:

Assigns an `AnyInvocable` from a reference to an invocable object&period; Upon assignment, stores a reference to the invocable object in the `AnyInvocable` instance&period;

== Synopsis

Declared in `&lt;absl&sol;functional&sol;any&lowbar;invocable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class F&gt;
requires internal&lowbar;any&lowbar;invocable&colon;&colon;CanAssignReferenceWrapper&lt;Sig, F&gt;&colon;&colon;value
xref:absl/AnyInvocable.adoc[AnyInvocable]&
operator&equals;(std::reference&lowbar;wrapper&lt;F&gt; f) noexcept;
----

== Return Value

A reference to `&ast;this`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *f*
| The invocable object to reference&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
