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

Same as the related overload above for `emplaceAndMoveToFrontDispatch`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class ALLOCATOR,
    class&period;&period;&period; Args&gt;
static
void
emplaceAndMoveToFrontDispatch(
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator]* toBegin,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] fromBegin,
    xref:BloombergLP/bslalg/DequePrimitives-01/Iterator.adoc[Iterator] position,
    ALLOCATOR allocator,
    xref:bsl/integral_constant-02.adoc[bsl::integral&lowbar;constant&lt;int, BSLALG&lowbar;DEQUEPRIMITIVES&lowbar;BITWISE&lowbar;MOVEABLE&lowbar;TRAITS&gt;] traits,
    Args&&&period;&period;&period; arguments);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *toBegin*
| loads the beginning iterator after emplacement
| *fromBegin*
| current beginning of the deque
| *position*
| insertion position within the deque
| *allocator*
| allocator forwarded to the constructor when needed
| *traits*
| unused trait tag for overload resolution
| *arguments*
| constructor arguments forwarded to `VALUE&lowbar;TYPE`
|===


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