Namespaces
Variants

std::bad_exception:: operator=

From cppreference.net
Utilities library
bad_exception & operator = ( const bad_exception & other ) throw ( ) ;
(до C++11)
bad_exception & operator = ( const bad_exception & other ) noexcept ;
(начиная с C++11)
(constexpr начиная с C++26)

Присваивает содержимое other . Если * this и other оба имеют динамический тип std::exception , то std:: strcmp ( what ( ) , other. what ( ) ) == 0 после присваивания. (начиная с C++11)

Параметры

другой - другой объект bad_exception для присваивания

Возвращаемое значение

* this .