nlohmann::ordered_map::erase

removes the element at the given position

Synopsis

Declared in <nlohmann/ordered_map.hpp>

iterator
erase(iterator pos);

Return Value

iterator following the removed element

Parameters

NameDescription
pos [in]iterator to the element to remove