adapter (STL/CLR)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at adapter (STL/CLR).

The STL/CLR header <cliext/adapter> specifies two template classes (collection_adapter and range_adapter), and the template function make_collection.

#include <cliext/adapter>  

ClassDescription
collection_adapter (STL/CLR)Wraps the Base Class Library (BCL) collection as a range.
range_adapter (STL/CLR)Wraps the range as a BCL collection.
FunctionDescription
make_collection (STL/CLR)Creates a range adapter using an iterator pair.

Header: <cliext/adapter>

Namespace: cliext

STL/CLR Library Reference

Show: