std::ios_base::failure::failure
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody> explicit failure( const std::string& message ); explicit failure( const std::string& message, const std::error_code& ec = std::io_errc::stream ); |
(até C++11) (desde C++11) |
|
explicit failure( const char* message, const std::error_code& ec = std::io_errc::stream ); |
(desde C++11) | |
Constrói o objeto de exceção usando
message como string explicação que pode mais tarde ser recuperadas usando what(). Original:
Constructs the exception object using
message as explanation string which can later be retrieved using what(). The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Parâmetros
| message | - | cadeia explicativa
Original: explanatory string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |