--- description: "Learn more about: back_inserter Function" title: "back_inserter Function" ms.date: "12/30/2016" f1_keywords: ["collection/Windows::Foundation::Collections::back_inserter"] helpviewer_keywords: ["back_inserter Function"] ms.assetid: 91476338-5548-44b7-bc7e-2150f4fbe31a --- # back_inserter Function Returns an iterator that is used to insert elements at the end of the specified collection. ## Syntax ``` template Platform::BackInsertIterator back_inserter(IVector^ v); template Platform::BackInsertIterator back_inserter(IObservableVector^ v); ``` #### Parameters *T*
A template type parameter. *v*
An interface pointer that provides access to the underlying collection. ### Return Value An iterator. ### Requirements **Header:** collection.h **Namespace:** Windows::Foundation::Collections ## See also [Windows::Foundation::Collections Namespace](../cppcx/windows-foundation-collections-namespace-c-cx.md)