[#nlohmann-ordered_map-2constructor-07] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/ordered_map.adoc[ordered_map]::ordered_map :relfileprefix: ../../ :mrdocs: constructs an ordered_map with the elements in the range [first, last)] == Synopsis Declared in `<nlohmann/ordered_map.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class It> ordered_map( It first, It last, Allocator const& alloc = Allocator()); ---- == Parameters [cols="1,4"] |=== | Name| Description | *first* [in] | iterator to the first element to insert | *last* [in] | iterator past the last element to insert | *alloc* [in] | allocator to use for the underlying container |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#