erase overloads
Synopses
Declared in <bdljsn_json.h>
Erase the element at the specified position.
JsonArray::Iterator
erase(ConstIterator position);
Erase the element at the specified index.
JsonArray::Iterator
erase(std::size_t index);
Erase the elements in the range [first, last)].
JsonArray::Iterator
erase(
ConstIterator first,
ConstIterator last);
Return Value
an iterator to the element following the last removed element
Parameters
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 |
Created with MrDocs