Edit

Share via


back_inserter Function

Returns an iterator that is used to insert elements at the end of the specified collection.

Syntax

template <typename T>
Platform::BackInsertIterator<T>
    back_inserter(IVector<T>^ v);

template<typename T>
Platform::BackInsertIterator<T>
   back_inserter(IObservableVector<T>^ 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