std::basic_ios::fail
From cppreference.com
Template:cpp/io/basic ios/sidebar
| bool fail() const; |
||
Returns true if an error has occurred on the associated stream. Specifically, returns true if badbit or failbit is set in rdstate().
Contents |
Parameters
(none)
Return value
true if an error has occurred, false otherwise.
Example
| This section is incomplete Reason: no example |