Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates the stream is in good condition.
bool good( ) const;
Return Value
true if rdstate == goodbit (no state flags are set), otherwise, false.
For more information on goodbit, see ios_base::iostate.
Example
See basic_ios::bad for an example of using good.
Requirements
Header: <ios>
Namespace: std