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

Name

Description

alloc [in]

allocator to use for the underlying container

Created with MrDocs