erase overloads

Synopses

Declared in <bdljsn_json.h>

Erase the element at the specified position.

Erase the element at the specified index.

JsonArray::Iterator
erase(std::size_t index);

Erase the elements in the range [first, 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