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

Exchange the value of this map with that of `other`&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]& other);
----

== Description

Exchange the value of this object as well as its hasher and equality functors with those of the specified `other` object&period; The behavior is undefined unless this object was created with the same allocator as `other`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| map to exchange contents with
|===


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