std::bad_exception::bad_exception
De cppreference.com
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
</tbody>
<tbody class="t-dcl-rev t-dcl-rev-num ">
</tbody><tbody>
| (1) | ||
bad_exception() throw(); |
(hasta C++11) | |
bad_exception() noexcept; |
(desde C++11) | |
| (2) | ||
bad_exception( const bad_exception& other ) throw(); |
(hasta C++11) | |
bad_exception( const bad_exception& other ) noexcept; |
(desde C++11) | |
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 tanto *this como other tienen un tipo dinámico std::bad_exception, enconces std::strcmp(what(), other.what()) == 0. (desde C++11)Parámetros
| other | - | Objeto con el cual inicializar a bad_exception.
|