Compartilhar via


utility (STL/CLR)

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

#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

Other Resources

STL/CLR Library Reference