Partager via


utility (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 utility (STL/CLR).

Include the STL/CLR header <cliext/utility> to define the template class pair and several supporting template functions.

Syntax

#include <utility>  

Declarations

Class Description
pair (STL/CLR) Wrap a pair of elements.
Operator Description
operator== (pair) (STL/CLR) Pair equal comparison.
operator!= (pair) (STL/CLR) Pair not equal comparison.
operator< (pair) (STL/CLR) Pair less than comparison.
operator<= (pair) (STL/CLR) Pair less than or equal comparison.
operator> (pair) (STL/CLR) Pair greater than comparison.
operator>= (pair) (STL/CLR) Pair greater than or equal comparison.
Function Description
make_pair (STL/CLR) Make a pair from a pair of values.

Requirements

Header: <cliext/utility>

Namespace: cliext

See Also

STL/CLR Library Reference