basic_ios::good
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. |