[#prevector-01-erase-0a]
= xref:prevector-01.adoc[prevector&lt;36, unsigned char&gt;]::erase
:relfileprefix: ../
:mrdocs:

`erase` overloads

== Synopses

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

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


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

[.small]#xref:prevector-01/erase-01.adoc[_» more&period;&period;&period;_]#

Removes the elements in the range &lsqb;first, last) and returns an iterator to the following element&period;&rsqb;


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

[.small]#xref:prevector-01/erase-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

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

== Parameters

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


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