good

Syntax:

    bool stream::good();

The function good() returns true if no errors have occurred with the current stream, false otherwise.

Related Topics: bad, clear, eof, exceptions, fail, rdstate

Stream states: