end 関数

指定されたインターフェイス パラメーターによってアクセスされるコレクションの末尾を越えて指す反復子を返します。

構文

template <typename T>
    ::Platform::Collections::VectorIterator<T>
    end(IVector<T>^ v);

template <typename T>
    ::Platform::Collections::VectorViewIterator<T>
    end(IVectorView<T>^ v);
template <typename T>
    ::Platform::Collections::InputIterator<T>
    end(IIterable<T>^ i);

パラメーター

T
テンプレート型パラメーター。

v
またはVectorView<T>インターフェイスによってIVector<T>アクセスされるオブジェクトのIVectorView<T>コレクションVector<T>

i
インターフェイスによってアクセスされる任意のWindows ランタイム オブジェクトのIIterable<T>コレクション。

戻り値

コレクションの末尾を越えて指す反復子。

解説

最初の 2 つの関数テンプレートは反復子を返し、3 番目の関数テンプレートは入力反復子を返します。

返されるendオブジェクトはPlatform::Collections::VectorViewIterator、型VectorProxy<T>の要素を格納するプロキシ反復子です。 ただし、プロキシ オブジェクトは、ユーザー コードにはほとんどは表示されません。 詳細については、「 Collections (C++/CX) (コレクション (C++/CX))」を参照してください。

必要条件

ヘッダー: collection.h

名前空間Windows::Foundation::Collections:

関連項目

Windows::Foundation::Collections 名前 空間