[#absl-InlinedVector-erase-05]
= xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::erase
:relfileprefix: ../../
:mrdocs:

Erases the element at `pos`, returning an `iterator` pointing to where the erased element was located&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;inlined&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/InlinedVector/iterator.adoc[iterator]
erase(xref:absl/InlinedVector/const_iterator.adoc[const&lowbar;iterator] pos);
----

== Description

NOTE&colon; may return `end()`, which is not dereferenceable&period;

== Return Value

An `iterator` to the element that followed the erased element&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos*
| The position of the element to erase&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
