<tr class="t-dsc-header">
<td> </td>
<td></td>
<td></td>
</tr>
<tr class="t-dcl ">
<td > bool operator==( const error_code& lhs, const error_code& rhs );
</td>
<td > (1) </td>
<td > (C++11 起) </td>
</tr>
<tr class="t-dcl ">
<td > bool operator!=( const error_code& lhs, const error_code& rhs );
</td>
<td > (1) </td>
<td > (C++11 起) </td>
</tr>
<tr class="t-dcl ">
<td > bool operator<( const error_code& lhs, const error_code& rhs );
</td>
<td > (1) </td>
<td > (C++11 起) </td>
</tr>
|
比较两个错误代码对象.
原文:
Compares two error code objects.
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
1) 比较
lhs
和
rhs
平等.
原文:
Compares lhs
and rhs
for equality.
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
2) 比较
lhs
和
rhs
平等.
原文:
Compares lhs
and rhs
for equality.
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
3) 检查是否
lhs
小于
rhs
.
原文:
Checks whether lhs
is less than rhs
.
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
参数
Template:param list begin
Template:param list item
Template:param list end
返回值
1) true如果错误类别和错误值相等的
原文:
{{{2}}}
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
|
true if the error category and error value compare equal}}.}}
2) true如果错误类别或错误值比较,是不相等
原文:
{{{2}}}
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
|
true if the error category or error value compare are not equal}}}}
3) truelhs.category() < rhs.category()。否则,
truelhs.category() == rhs.category() && lhs.value() < rhs.value()。否则,
false原文:
true if lhs.category() < rhs.category(). Otherwise, true if lhs.category() == rhs.category() && lhs.value() < rhs.value(). Otherwise, false
文本通过
谷歌翻译机器翻译。
你可以帮忙校正和验证翻译。点击
此处查看指示。
例外
例外
另请参阅