名前空間
変種
操作

std::operator==,!=,<<div class="t-tr-text">(スタンダード:: ERROR_CODE)<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">(std::error_code)</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div>

提供: cppreference.com
< cpp‎ | error‎ | error code

 
 
 
 
std::error_code
メンバ関数
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.
修飾子
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
オブザーバー
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator<
operator==
operator!=
ヘルパークラス
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
ヘッダ <system_error> で定義
bool operator==( const error_code& lhs, const error_code& rhs );
(1) (C++11およびそれ以降)
bool operator!=( const error_code& lhs, const error_code& rhs );
(1) (C++11およびそれ以降)
bool operator<( const error_code& lhs, const error_code& rhs );
(1) (C++11およびそれ以降)
2エラーコードオブジェクトを比較.
Original:
Compares two error code objects.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
平等のためのlhsrhsを比較.
Original:
Compares lhs and rhs for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
平等のためのlhsrhsを比較.
Original:
Compares lhs and rhs for equality.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
lhsrhs未満であるかどうかを確認します.
Original:
Checks whether lhs is less than rhs.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

目次

[編集] パラメータ

lhs, rhs -
エラーコードは、比較することができます
Original:
error codes 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エラーカテゴリとエラー値が等しい場合に比較
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
.|true if the error category and error value compare equal}}.}}
2)
trueエラーカテゴリまたはエラー値が等しくないか比較した場合
Original:
{{{2}}}
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
|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
Original:
true if lhs.category() < rhs.category(). Otherwise, true if lhs.category() == rhs.category() && lhs.value() < rhs.value(). Otherwise, false
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 例外

noexcept 指定:  
noexcept
  

[編集] 例外

noexcept 指定:  
noexcept
  

[編集] 参照

このERROR_CODEためerror_categoryを取得します
Original:
obtains the error_category for this error_code
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(パブリックメンバ関数) [edit]