std::bad_exception::bad_exception
Von de.cppreference.net
bad_exception() throw();
|
(1) | (bis C++11) |
bad_exception() noexcept;
|
(seit C++11) (constexpr seit C++26) |
|
bad_exception( const bad_exception& other ) throw();
|
(2) | (bis C++11) |
bad_exception( const bad_exception& other ) noexcept;
|
(seit C++11) (constexpr seit C++26) |
|
Konstruiert ein neues bad_exception Objekt.
1) Standardkonstruktor.
what() gibt eine implementationsdefinierte Zeichenkette zurück.2) Kopierkonstruktor. Initialisiert das Objekt mit den Inhalten von
other. Wenn *this und other beide den dynamischen Typ std::bad_exception haben, dann std::strcmp(what(), other.what()) == 0(seit C++11).Parameter
| other | - |
bad_exception
Objekt zur Initialisierung
|