[#bsl-vector-0ec-erase-08]
= xref:bsl.adoc[bsl]::xref:bsl/vector-0ec.adoc[vector&lt;unsigned int&gt;]::erase
:relfileprefix: ../../
:mrdocs:

Remove from this vector the element at the specified `position`, and return an iterator providing modifiable access to the element immediately following the removed element, or the position returned by the method `end` if the removed element was the last in the sequence&period; The behavior is undefined unless `position` is an iterator in the range `&lsqb;cbegin() &period;&period; cend())&rsqb;`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;vector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector-0ec/iterator.adoc[iterator]
erase(xref:bsl/vector-0ec/const_iterator.adoc[const&lowbar;iterator] position);
----


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