constructs an ordered_map with the elements in the range [first, last)]

Synopsis

Declared in <nlohmann/ordered_map.hpp>

template<class It>
ordered_map(
    It first,
    It last,
    Allocator const& alloc = Allocator());

Parameters

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

Created with MrDocs