nlohmann::ordered_map::ordered_map

constructs an empty ordered_map using the given allocator

Synopsis

Declared in <nlohmann/ordered_map.hpp>

explicit
ordered_map(Allocator const& alloc) noexcept(noexcept(Container(alloc)));

Parameters

NameDescription
alloc [in]allocator to use for the underlying container