[#BloombergLP-bslalg-DequePrimitives-01-erase-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives-01.adoc[DequePrimitives]::erase
:relfileprefix: ../../../
:mrdocs:

Same as the preceding `erase` overload for bitwise&hyphen;copyable types&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;dequeprimitives&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOCATOR&gt;
static
xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[DequePrimitives&lt;VALUE&lowbar;TYPE, BLOCK&lowbar;LENGTH&gt;::Iterator]
erase(
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator]* toBegin,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator]* toEnd,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] fromBegin,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] first,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] last,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] fromEnd,
    ALLOCATOR allocator,
    xref:bsl/integral_constant-02.adoc[bsl::integral&lowbar;constant&lt;int, BSLALG&lowbar;DEQUEPRIMITIVES&lowbar;BITWISE&lowbar;COPYABLE&lowbar;TRAITS&gt;]);
----


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