std::bad_exception::bad_exception
Depuis fr.cppreference.net
bad_exception() throw();
|
(1) | (jusqu'à C++11) |
bad_exception() noexcept;
|
(depuis C++11) (constexpr depuis C++26) |
|
bad_exception( const bad_exception& other ) throw();
|
(2) | (jusqu'à C++11) |
bad_exception( const bad_exception& other ) noexcept;
|
(depuis C++11) (constexpr depuis C++26) |
|
Construit un nouvel objet bad_exception.
1) Constructeur par défaut.
what() retourne une chaîne définie par l'implémentation.2) Constructeur de copie. Initialise l'objet avec le contenu de
other. Si *this et other ont tous deux le type dynamique std::bad_exception, alors std::strcmp(what(), other.what()) == 0(depuis C++11).Paramètres
| autre | - |
bad_exception
objet à initialiser avec
|