nlohmann::ordered_map::erase

removes the elements in the range [first, last)]

Synopsis

Declared in <nlohmann/ordered_map.hpp>

iterator
erase(
    iterator first,
    iterator last);

Return Value

iterator following the last removed element

Parameters

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