std::bad_exception::bad_exception
ja.cppreference.net より
bad_exception() throw();
|
(1) | (C++11まで) |
bad_exception() noexcept;
|
(C++11から) (C++26からconstexpr) |
|
bad_exception( const bad_exception& other ) throw();
|
(2) | (C++11まで) |
bad_exception( const bad_exception& other ) noexcept;
|
(C++11から) (C++26からconstexpr) |
|
新しい bad_exception オブジェクトを構築します.
1) デフォルトコンストラクタ.
what() は実装定義の文字列を返します.2) コピーコンストラクタ. オブジェクトを
other の内容で初期化します. *this と other が両方とも動的型 std::bad_exception の場合, std::strcmp(what(), other.what()) == 0 (C++11から) .パラメータ
| その他 | - |
bad_exception
オブジェクトの初期化に使用する
|