[#absl-InlinedVector-erase-00] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::erase :relfileprefix: ../../ :mrdocs: `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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/InlinedVector/iterator.adoc[iterator] xref:absl/InlinedVector/erase-05.adoc[erase](xref:absl/InlinedVector/const_iterator.adoc[const_iterator] pos); ---- [.small]#xref:absl/InlinedVector/erase-05.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/InlinedVector/iterator.adoc[iterator] xref:absl/InlinedVector/erase-04.adoc[erase]( xref:absl/InlinedVector/const_iterator.adoc[const_iterator] from, xref:absl/InlinedVector/const_iterator.adoc[const_iterator] to); ---- [.small]#xref:absl/InlinedVector/erase-04.adoc[_» more..._]# == Return Value * An `iterator` to the element that followed the erased element. * An `iterator` to the element that followed the erased range. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#