std::bad_exception::bad_exception
提供: cppreference.com
<tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
| (1) | ||
bad_exception() throw(); |
(C++11未満) | |
bad_exception() noexcept; |
(C++11以上) | |
| (2) | ||
bad_exception( const bad_exception& other ) throw(); |
(C++11未満) | |
bad_exception( const bad_exception& other ) noexcept; |
(C++11以上) | |
新しい bad_exception オブジェクトを構築します。
1) デフォルトコンストラクタ。
what() は処理系定義の文字列を返します。2) コピーコンストラクタ。
other の内容でオブジェクトを初期化します。 *this と other がどちらも同じ動的型 std::bad_exception であれば、 std::strcmp(what(), other.what()) == 0 です。 (C++11以上)引数
| other | - | 初期化するための bad_exception オブジェクト
|