[#absl-AnyInvocable-swap]
= xref:absl.adoc[absl]::xref:absl/AnyInvocable.adoc[AnyInvocable]::swap
:relfileprefix: ../../
:mrdocs:

absl&colon;&colon;AnyInvocable&colon;&colon;swap()

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(xref:absl/AnyInvocable.adoc[AnyInvocable]& other) noexcept;
----

== Description

Exchanges the targets of `&ast;this` and `other`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The `AnyInvocable` to swap with&period;
|===


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