[#nlohmann-ordered_map-2constructor-0c]
= xref:nlohmann.adoc[nlohmann]::xref:nlohmann/ordered_map.adoc[ordered&lowbar;map]::ordered&lowbar;map
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;nlohmann&sol;ordered&lowbar;map&period;hpp&gt;`

Default constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/ordered_map/2constructor-08.adoc[ordered&lowbar;map]() noexcept(noexcept(Container()));
----

[.small]#xref:nlohmann/ordered_map/2constructor-08.adoc[_» more&period;&period;&period;_]#

Construct from `Allocator`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:nlohmann/ordered_map/2constructor-03.adoc[ordered&lowbar;map](Allocator const& alloc) noexcept(noexcept(Container(alloc)));
----

[.small]#xref:nlohmann/ordered_map/2constructor-03.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:nlohmann/ordered_map/2constructor-0f.adoc[ordered&lowbar;map](
    std::initializer&lowbar;list&lt;value&lowbar;type&gt; init,
    Allocator const& alloc = Allocator());
----

[.small]#xref:nlohmann/ordered_map/2constructor-0f.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class It&gt;
xref:nlohmann/ordered_map/2constructor-0d.adoc[ordered&lowbar;map](
    It first,
    It last,
    Allocator const& alloc = Allocator());
----

[.small]#xref:nlohmann/ordered_map/2constructor-0d.adoc[_» more&period;&period;&period;_]#


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