[#prevector-0c-erase-0f]
= xref:prevector-0c.adoc[prevector]::erase
:relfileprefix: ../
:mrdocs:

Removes the element at `pos` and returns an iterator to the following element&period;

== Synopsis

Declared in `&lt;prevector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:prevector-0c/iterator.adoc[iterator]
erase(xref:prevector-0c/iterator.adoc[iterator] pos);
----

== Return Value

An iterator to the element following the removed one&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pos*
| Iterator to the element to remove&period;
|===


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