prevector::erase

Removes the elements in the range [first, last) and returns an iterator to the following element.]

Synopsis

Declared in <prevector.h>

iterator
erase(
    iterator first,
    iterator last);

Return Value

An iterator to the element following the removed range.

Parameters

NameDescription
firstIterator to the first element to remove.
lastIterator one past the last element to remove.