nlohmann::ordered_map::insert

inserts the elements in the range [first, last), skipping keys that already exist]

Synopsis

Declared in <nlohmann/ordered_map.hpp>

template<
    typename InputIt,
    typename = require_input_iter<InputIt>>
void
insert(
    InputIt first,
    InputIt last);

Parameters

NameDescription
first [in]iterator to the first element to insert
last [in]iterator past the last element to insert