[#bitdeque-erase-07]
= xref:bitdeque.adoc[bitdeque]::erase
:relfileprefix: ../
:mrdocs:

`erase` overloads

== Synopses

Declared in `&lt;util&sol;bitdeque&period;h&gt;`

Erase a single bit&period;


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

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

Erase a single bit&period;


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

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

Erase the bits in the range &lsqb;first,last)&period;&rsqb;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bitdeque/iterator-05.adoc[iterator]
xref:bitdeque/erase-0e.adoc[erase](
    xref:bitdeque/const_iterator.adoc[const&lowbar;iterator] first,
    xref:bitdeque/const_iterator.adoc[const&lowbar;iterator] last);
----

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

Erase the bits in the range &lsqb;first,last)&period;&rsqb;


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

[.small]#xref:bitdeque/erase-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

* Iterator to the bit that followed the erased one&period;
* Iterator to the bit that followed the erased range&period;

== Parameters

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


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