[#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. == Synopsis Declared in `<bslalg_arrayprimitives.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TARGET_TYPE, class SOURCE_TYPE> static void insert( TARGET_TYPE* toBegin, TARGET_TYPE* toEnd, SOURCE_TYPE* fromBegin, SOURCE_TYPE* fromEnd, xref:BloombergLP/bslalg/ArrayPrimitives/size_type.adoc[size_type] numElements, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator); ---- == Parameters [cols="1,4"] |=== | Name| Description | *toBegin* | insertion position within the destination array | *toEnd* | end of the populated destination range | *fromBegin* | beginning of the source range to insert | *fromEnd* | end of the source range to insert | *numElements* | number of elements to insert from the source range | *allocator* | allocator used to supply memory if required |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#