[#BloombergLP-bdlc-swap-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::swap
:relfileprefix: ../../
:mrdocs:

Exchange the contents of the two maps&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
swap(
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap&lt;K, V, H, E&gt;]&,
    xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap&lt;K, V, H, E&gt;]&);
----


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