remove element given an iterator
Declared in <nlohmann/json.hpp>
template<class IteratorType>
requires std::is_same<IteratorType, typename basic_json_t::iterator>::value ||
std::is_same<IteratorType, typename basic_json_t::const_iterator>::value
IteratorType
erase(IteratorType pos);
iterator following the last removed element
| Name | Description |
|---|---|
| pos | iterator to the element to remove |