std::basic_ios::bad
From cppreference.com
bool bad() const; |
||
Returns true if non-recoverable error has occurred on the associated stream. Specifically, returns true if badbit is set in rdstate().
Contents |
[edit] Parameters
(none)
[edit] Return value
true if a non-recoverable error has occurred, false otherwise.
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
checks if no error has occurred i.e. I/O operations are available (public member function) | |
checks if a recoverable error has occurred (public member function) | |
checks if end-of-file has been reached (public member function) | |
checks if an error has occurred (synonym of fail()) (public member function) |