erase overloads

Synopses

Declared in <absl/container/inlined_vector.h>

Erases the element at pos, returning an iterator pointing to where the erased element was located.

Overload of InlinedVector::erase(...) that erases every element in the range [`from`, to), returning an iterator pointing to where the first] erased element was located.

Return Value

  • An iterator to the element that followed the erased element.

  • An iterator to the element that followed the erased range.

Parameters

Name

Description

pos

The position of the element to erase.

from

An iterator to the beginning of the range to erase.

to

An iterator past the end of the range to erase.

Created with MrDocs