|
|
|
|
Member functions | ||||
bad_exception::bad_exception | ||||
(1) | ||
bad_exception()throw(); | (until C++11) | |
bad_exception()noexcept; | (since C++11) (constexpr since C++26) | |
(2) | ||
bad_exception(const bad_exception& other)throw(); | (until C++11) | |
bad_exception(const bad_exception& other)noexcept; | (since C++11) (constexpr since C++26) | |
Constructs newbad_exception
object.
what()
returns an implementation-defined string.std::bad_exception
thenstd::strcmp(what(), other.what())==0(since C++11).other | - | bad_exception object to initialize with |