erase overloads

Synopses

Declared in <prevector.h>

Removes the element at pos and returns an iterator to the following element.

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

iterator
erase(
    iterator first,
    iterator last);

Return Value

  • An iterator to the element following the removed one.

  • An iterator to the element following the removed range.

Parameters

Name

Description

pos

Iterator to the element to remove.

first

Iterator to the first element to remove.

last

Iterator one past the last element to remove.

Created with MrDocs