[#BloombergLP-bslalg-ArrayPrimitives-insert-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/ArrayPrimitives.adoc[ArrayPrimitives]::insert
:relfileprefix: ../../../
:mrdocs:

Same as the preceding overload, taking pointer iterators&period;

== Synopsis

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

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


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