[#BloombergLP-bslalg-DequePrimitives-01-moveInsertAndMoveToFront-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/DequePrimitives-01.adoc[DequePrimitives]::moveInsertAndMoveToFront :relfileprefix: ../../../ :mrdocs: Same as the preceding overload. == Synopsis Declared in `<bslalg_dequeprimitives.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR> static void moveInsertAndMoveToFront( 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, xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<VALUE_TYPE>] value, ALLOCATOR allocator, xref:bsl/integral_constant-02.adoc[bsl::integral_constant<int, BSLALG_DEQUEPRIMITIVES_NIL_TRAITS>] traits); ---- == Parameters [cols="1,4"] |=== | Name| Description | *toBegin* | loads the beginning iterator after insertion | *fromBegin* | current beginning of the deque | *position* | insertion position within the deque | *value* | move‐insertable value to place at `position` | *allocator* | allocator passed to the move constructor | *traits* | unused trait tag for overload resolution |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#