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.
iterator
erase(
const_iterator from,
const_iterator to);
Return Value
-
An
iteratorto the element that followed the erased element. -
An
iteratorto 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