[#BloombergLP-bdlc-FlatHashMap-2constructor-0fc]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::FlatHashMap
:relfileprefix: ../../../
:mrdocs:

Create a map by moving from the specified `original` object&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
FlatHashMap(xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;FlatHashMap&gt;] original);
----

== Description

Create a `FlatHashMap` object having the same value, hasher, equality comparator, and allocator as the specified `original` object&period; The contents of `original` are moved (in constant time) to this object, `original` is left in a (valid) unspecified state, and no exceptions will be thrown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| map to move from
|===


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