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
See Also
Reference
Other Resources
Change History
Date |
History |
Reason |
---|---|---|
March 2009 |
Revised. |
Customer feedback. |