演算子の左側のオブジェクトが右側のオブジェクトと等しいかどうかを調べます。
bool operator==(const error_code& _Left, const error_condition& _Right);
bool operator==(const error_condition& _Left, const error_code& _Right);
パラメーター
パラメーター |
説明 |
|---|---|
_Left |
等価性をテストするオブジェクト。 |
_Right |
等価性をテストするオブジェクト。 |
戻り値
オブジェクトが等しいtrue ; オブジェクトがではない false。
解説
この関数は _Left.category() == _Right.category() && _Left.value() == _Right.value()を返します。
必要条件
ヘッダー: <system_error>
名前空間: std