The pointer returned is not intended to be referenced, it just indicates success when none of the error flags are set.
Return Valuenull pointer if either failbit or badbit is set.
A non-null pointer otherwise.
Basic template member declaration( basic_ios<charT,traits> )
|ios::fail||Check if either failbit or badbit is set (public member function)|
|ios::operator!||Evaluate stream object (public member function)|