名前空間
変種
操作

std::error_category::operator==,!=,<

提供: cppreference.com

 
 
 
 
std::error_category
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_category::operator==error_category::operator!=error_category::operator<
 
bool operator==( const error_category& rhs ) const;
(1) (C++11およびそれ以降)
bool operator!=( const error_category& rhs ) const;
(2) (C++11およびそれ以降)
bool operator<( const error_category& rhs ) const;
(1) (C++11およびそれ以降)
別のエラーカテゴリと比較.
Original:
Compares to another error category.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
かどうかをチェックし*thisrhs同じオブジェクトを参照している.
Original:
Checks whether *this and rhs refer to the same object.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
かどうかをチェックし*thisrhs同じオブジェクトを指すものではありません.
Original:
Checks whether *this and rhs do not refer to the same object.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
受注*thisrhsthis&rhsの命令により。 std::less<const error_category*>()(this, &rhs)に相当.
Original:
Orders *this and rhs by the order of this and &rhs. Equivalent to std::less<const error_category*>()(this, &rhs).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

code -
比較するためにエラーコードを指定します
Original:
specifies the error code to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
condition -
比較するエラー状態を指定します
Original:
specifies the error condition to compare
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 値を返します

1)
true場合*thisrhsfalseそうでなければ、同じオブジェクトを参照している.
Original:
true if *this and rhs refer to the same object, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
true場合*thisrhsfalseそうでなければ、同じオブジェクトを指すものではありません.
Original:
true if *this and rhs do not refer to the same object, false otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
true場合*thisrhs未満であるとしてthisの順序によって定義され、&rhs.
Original:
true if *this is less than rhs as defined by the order of this and &rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept 指定:  
noexcept