erase overloads
Declared in <bdljsn_json.h>
Erase the element at the specified position.
JsonArray::Iterator
erase(ConstIterator position);
» more...
Erase the element at the specified index.
JsonArray::Iterator
erase(std::size_t index);
» more...
Erase the elements in the range [first, last)].
JsonArray::Iterator
erase(
ConstIterator first,
ConstIterator last);
» more...
an iterator to the element following the last removed element
| Name | Description |
|---|---|
| position | iterator to the member to erase |
| index | zero-based element position |
| first | beginning of the erase range |
| last | end of the erase range |