[#BloombergLP-bslalg-ArrayPrimitives-moveConstruct-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ArrayPrimitives.adoc[ArrayPrimitives]::moveConstruct
:relfileprefix: ../../../
:mrdocs:

Move&hyphen;construct elements from a range into an uninitialized array&period;

== Synopses

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

Move&hyphen;construct elements from a range into an uninitialized array&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOCATOR&gt;
static
void
xref:BloombergLP/bslalg/ArrayPrimitives/moveConstruct-05.adoc[moveConstruct](
    bsl::allocator&lowbar;traits&lt;ALLOCATOR&gt;::pointer toBegin,
    bsl::allocator&lowbar;traits&lt;ALLOCATOR&gt;::pointer fromBegin,
    bsl::allocator&lowbar;traits&lt;ALLOCATOR&gt;::pointer fromEnd,
    ALLOCATOR allocator);
----

[.small]#xref:BloombergLP/bslalg/ArrayPrimitives/moveConstruct-05.adoc[_» more&period;&period;&period;_]#

Move&hyphen;construct elements from a range into an uninitialized array&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TARGET&lowbar;TYPE&gt;
static
void
xref:BloombergLP/bslalg/ArrayPrimitives/moveConstruct-0a.adoc[moveConstruct](
    TARGET&lowbar;TYPE* toBegin,
    TARGET&lowbar;TYPE* fromBegin,
    TARGET&lowbar;TYPE* fromEnd,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator);
----

[.small]#xref:BloombergLP/bslalg/ArrayPrimitives/moveConstruct-0a.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *toBegin*
| beginning of the uninitialized destination range
| *fromBegin*
| beginning of the source range
| *fromEnd*
| end of the source range (one past the last element)
| *allocator*
| allocator used to supply memory if required
|===


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