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

Swaps the contents of two inlined vectors&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;inlined&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T,
    size&lowbar;t N,
    typename A&gt;
void
swap(
    xref:absl/InlinedVector.adoc[absl::InlinedVector&lt;T, N, A&gt;]& a,
    xref:absl/InlinedVector.adoc[absl::InlinedVector&lt;T, N, A&gt;]& b) noexcept(noexcept(a&period;swap(b)));
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| The first inlined vector&period;
| *b*
| The second inlined vector&period;
|===


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