名前空間
変種
操作

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

提供: cppreference.com

 
 
ユーティリティライブラリ
支援を入力します (basic types, RTTI, type traits)
動的なメモリ管理
エラー処理
プログラムユーティリティ
可変個引数関数
日付と時刻
関数オブジェクト
initializer_list(C++11)
bitset
hash(C++11)
関係演算子
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
ペアとタプル
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
フォワード、スワップ、および移動
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
エラー処理
例外処理
Original:
Exception handling
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exception
uncaught_exception
exception_ptr(C++11)
make_exception_ptr(C++11)
current_exception(C++11)
rethrow_exception(C++11)
nested_exception(C++11)
throw_with_nested(C++11)
rethrow_if_nested(C++11)
例外処理の失敗
Original:
Exception handling failures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
terminate
terminate_handler
get_terminate(C++11)
set_terminate
unexpected(廃止予定)
bad_exception
unexpected_handler(廃止予定)
get_unexpected(C++11)(廃止予定)
set_unexpected(廃止予定)
例外カテゴリ
Original:
Exception categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
logic_error
invalid_argument
domain_error
length_error
out_of_range
runtime_error
range_error
overflow_error
underflow_error
エラーコード
Original:
Error codes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
エラーコード
errno
アサーション
Original:
Assertions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
assert
SYSTEM_ERROR施設
Original:
system_error facility
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
error_category(C++11)
generic_category(C++11)
system_category(C++11)
error_condition(C++11)
errc(C++11)
error_code(C++11)
system_error(C++11)
 
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::error_category
error_category::~error_category
error_category::name
error_category::default_error_condition
error_category::equivalent
error_category::message
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 specification:  
noexcept
  (C + + 11以来)