BloombergLP::bdljsn::JsonArray::erase

erase overloads

Synopses

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...

Return Value

an iterator to the element following the last removed element

Parameters

NameDescription
positioniterator to the member to erase
indexzero-based element position
firstbeginning of the erase range
lastend of the erase range