ios::bad
bool bad ( ) const; | ios |
cplusplus.com |
Check if an unrecoverable error has occurred.
The function returns true if the badbit stream's error flag
has been set by a previous i/o operation.
Notice that this member function is not the opposite of good().
Parameters.
Return Value.
true if badbit stream's state flag is set.
false otherwise.
Basic template member declaration ( basic_ios<charT,traits> ):
bool bad () const; |
See also.
good,
eof,
fail,
rdstate,
clear
ios class