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

Name

Description

first [in]

iterator to the first element to remove

last [in]

iterator past the last element to remove

Created with MrDocs