The pointer returned is not intended to be referenced, it just indicates success when none of the error flags are set.
Parameters
noneReturn Value
null pointer if either failbit or badbit is set.A non-null pointer otherwise.
Example
| 1 2 3 4 5 6 7 8 9 10 11 12 |
|
Basic template member declaration
( basic_ios<charT,traits> ) |
See also
| ios::fail | Check if either failbit or badbit is set (public member function) |
| ios::operator! | Evaluate stream object (public member function) |
