std::ios_base::failure::failure
Aus 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 ); |
(bis C + +11) (seit C++11) |
|
explicit failure( const char* message, const std::error_code& ec = std::io_errc::stream ); |
(seit C++11) | |
Konstruiert die Ausnahme-Objekt mit
message als Erklärung Zeichenfolge, die später abgerufen werden können mit what() werden . 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.
Parameter
| message | - | erklärende String
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. |
Beispiel
| This section is incomplete Reason: no example |