[#absl-InlinedVector-erase-04] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::erase :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<absl/container/inlined_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/InlinedVector/iterator.adoc[iterator] erase( xref:absl/InlinedVector/const_iterator.adoc[const_iterator] from, xref:absl/InlinedVector/const_iterator.adoc[const_iterator] to); ---- == Description NOTE: may return `end()`, which is not dereferenceable. == Return Value An `iterator` to the element that followed the erased range. == Parameters [cols="1,4"] |=== | Name| Description | *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]#