title
collection_adapter::end (STL/CLR) | Microsoft Docs
ms.custom
ms.date
11/04/2016
ms.reviewer
ms.suite
ms.technology
ms.tgt_pltfrm
ms.topic
reference
f1_keywords
cliext::collection_adapter::end
dev_langs
helpviewer_keywords
ms.assetid
f953a734-2f17-4b68-9ca4-34f980d08887
caps.latest.revision
9
author
mikeblome
ms.author
mblome
manager
ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw
collection_adapter::end (STL/CLR)
Designates the end of the controlled sequence.
Remarks
The member function returns an input iterator that points just beyond the end of the controlled sequence.
// cliext_collection_adapter_end.cpp
// compile with: /clr
#include <cliext/adapter>
#include <cliext/deque>
typedef cliext::collection_adapter<
System::Collections::ICollection> Mycoll;
int main()
{
cliext::deque<wchar_t> d1;
d1.push_back(L'a');
d1.push_back(L'b');
d1.push_back(L'c');
Mycoll c1(%d1);
// display initial contents " a b c"
Mycoll::iterator it = c1.begin();
for (; it != c1.end(); ++it)
System::Console::Write(" {0}", *it);
System::Console::WriteLine();
return (0);
}
Header: <cliext/adapter>
Namespace: cliext
collection_adapter (STL/CLR)
collection_adapter::begin (STL/CLR)