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

Name

Description

first [in]

iterator to the first element to insert

last [in]

iterator past the last element to insert

Created with MrDocs