std::map::value_compare
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| class value_compare; |
||
std::map::value_compare is a function object that compares objects of type std::map::value_type (key-value pairs) by comparing of the first components of the pairs.
[编辑] 会员类型
| 类型
|
Definition |
result_type
|
bool |
first_argument_type
|
value_type
|
second_argument_type
|
value_type
|
[编辑] Protected member objects
| 姓名
|
Type |
comp
|
Compare
|
[编辑] 成员函数
| 构建一个新的value_compare对象 原文: constructs a new value_compare object (受保护的成员函数) | |
| 比较两个值类型 value_type原文: compares two values of type value_type(公共成员函数) | |