std::bad_exception::bad_exception
De es.cppreference.net
bad_exception() throw();
|
(1) | (hasta C++11) |
bad_exception() noexcept;
|
(desde C++11) (constexpr desde C++26) |
|
bad_exception( const bad_exception& other ) throw();
|
(2) | (hasta C++11) |
bad_exception( const bad_exception& other ) noexcept;
|
(desde C++11) (constexpr desde C++26) |
|
Construye un nuevo objeto bad_exception.
1) Constructor por defecto.
what() devuelve una cadena definida por la implementación.2) Constructor de copia. Inicializa el objeto con el contenido de
other. Si *this y other ambos tienen tipo dinámico std::bad_exception entonces std::strcmp(what(), other.what()) == 0(desde C++11).Parámetros
| otro | - |
bad_exception
objeto a inicializar
|