utility (STL/CLR)

包括 STL/CLR 头 <cliext/utility> 定义模板类 pair 和几个支持的模板函数。

#include <utility>

声明

说明

pair (STL/CLR)

包装元素对。

运算符

说明

operator== (pair) (STL/CLR)

对相等比较。

operator!= (pair) (STL/CLR)

对不相等比较。

operator< (pair) (STL/CLR)

比比较对较少。

operator<= (pair) (STL/CLR)

对小于或等于比较。

operator> (pair) (STL/CLR)

比比较对大。

operator>= (pair) (STL/CLR)

比对大于或等于比较。

功能

说明

make_pair (STL/CLR)

由值对进行匹配。

要求

标题: <cliext/实用工具>

命名空间: cliext

请参见

其他资源

STL/CLR库参考