std::exception::operator=
提供: cppreference.com
ユーティリティライブラリ
|
エラー処理
|
|
std::exception
メンバ関数 | ||||
exception::operator= | ||||
exception& operator=( const exception& other ) throw(); | (C++11未満) | |
exception& operator=( const exception& other ) noexcept; | (C++11以上) | |
コピー代入演算子。 other
の内容を代入します。
代入の後に what() を呼んだ効果は処理系定義です。 | (C++11未満) |
| (C++11以上) |
[編集] 引数
other | - | 内容を代入する別の例外 |