[#BloombergLP-bdlat_ArrayIterators-backInserter-0ae]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayIterators.adoc[bdlat&lowbar;ArrayIterators]::backInserter
:relfileprefix: ../../
:mrdocs:

`backInserter` overloads

== Synopses

Declared in `&lt;bdlat&lowbar;arrayiterators&period;h&gt;`

Return a `BackInsertIterator` (of the appropriate type) to manipulate the specified `array`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bdlat_ArrayIterators/BackInsertIterator.adoc[bdlat&lowbar;ArrayIterators::BackInsertIterator&lt;TYPE&gt;]
xref:BloombergLP/bdlat_ArrayIterators/backInserter-0a6.adoc[backInserter](TYPE* array);
----

[.small]#xref:BloombergLP/bdlat_ArrayIterators/backInserter-0a6.adoc[_» more&period;&period;&period;_]#

Specialization of `backInserter` for `bsl&colon;&colon;vector`&period; Return `bsl&colon;&colon;back&lowbar;insert&lowbar;iterator` instead of `BackInsertIterator`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class TYPE,
    class ALLOC&gt;
bsl::back&lowbar;insert&lowbar;iterator&lt;bsl::vector&lt;TYPE, ALLOC&gt;&gt;
xref:BloombergLP/bdlat_ArrayIterators/backInserter-0c.adoc[backInserter](xref:bsl/vector-00d.adoc[bsl::vector&lt;TYPE, ALLOC&gt;]* array);
----

[.small]#xref:BloombergLP/bdlat_ArrayIterators/backInserter-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

* back&hyphen;insertion iterator that appends to `array`
* `bsl&colon;&colon;back&lowbar;insert&lowbar;iterator` that appends to `array`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *array*
| array to which the returned iterator appends elements
|===


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