[#BloombergLP-bslalg-DequePrimitives_DequeElementGuard-moveBegin]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives_DequeElementGuard.adoc[DequePrimitives&lowbar;DequeElementGuard]::moveBegin
:relfileprefix: ../../../
:mrdocs:

Move the begin iterator by the specified `offset`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslalg/DequePrimitives_DequeElementGuard/Iterator.adoc[DequePrimitives&lowbar;DequeElementGuard&lt;VALUE&lowbar;TYPE, BLOCK&lowbar;LENGTH, ALLOCATOR&gt;::Iterator]&
moveBegin(std::ptrdiff&lowbar;t offset = &hyphen;1);
----

== Description

Move the begin iterator by the specified `offset`, and return the new begin iterator&period;

== Return Value

the new begin iterator after applying `offset`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *offset*
| signed displacement applied to the begin iterator
|===


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