std::ios_base::failure::failure
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> explicit failure( const std::string& message ); explicit failure( const std::string& message, const std::error_code& ec = std::io_errc::stream ); |
(fino al c++11) (dal C++11) |
|
explicit failure( const char* message, const std::error_code& ec = std::io_errc::stream ); |
(dal C++11) | |
Costruisce l'oggetto eccezione
message utilizzando come stringa di spiegazione che può essere successivamente recuperato utilizzando 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.
Parametri
| message | - | stringa esplicativa
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. |
Esempio
| This section is incomplete Reason: no example |