Namespaces
Variants

std::bad_exception::operator=

cppreference.netから
 
 
ユーティリティライブラリ
言語サポート
型サポート (基本型, RTTI)
ライブラリ機能テストマクロ (C++20)
プログラムユーティリティ
可変引数関数
コルーチンサポート (C++20)
契約サポート (C++26)
三方比較
(C++20)
(C++20)(C++20)(C++20)    
(C++20)(C++20)(C++20)

一般ユーティリティ
関係演算子 (C++20で非推奨)
整数比較関数
(C++20)(C++20)(C++20)    
(C++20)
スワップ と 型操作
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
共通ボキャブラリ型
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)
(C++23)



 
 
 
bad_exception& operator=( const bad_exception& other ) throw();
(C++11まで)
bad_exception& operator=( const bad_exception& other ) noexcept;
(C++11以降)
(C++26以降 constexpr)

の内容を代入しますother。 もし *this と other の両方の動的型が std::exception であれば、std::strcmp(what(), other.what()) == 0 代入後は。(C++11以降)

パラメータ

その他 - 代入する別の bad_exception オブジェクト

戻り値

* this .