std::error_condition::operator=
提供: cppreference.com
<tbody>
</tbody>
error_condition& operator=( const error_condition& other ) noexcept; |
(1) | (C++11以上) (暗黙に宣言) |
template< class ErrorConditionEnum > error_condition& operator=( ErrorConditionEnum e ) noexcept; |
(2) | (C++11以上) |
内容をエラーコンディションに代入します。
1) コピー代入演算子。
other の内容を代入します。2) 列挙子
e に対するエラーコンディションを代入します。 実質的に make_error_condition() を呼びます。 is_error_condition_enum<ErrorConditionEnum>::value が true でなければ、オーバーロード解決に参加しません。引数
| other | - | 初期化するための別のエラーコンディション |
| e | - | エラーコンディションの列挙子 |
戻り値
*this。