ios::good

Syntax

int good() const;

Remarks

Returns a nonzero value if all error bits are clear. Note that the good member function is not simply the inverse of the bad function.

See Also

ios::bad, ios::fail, ios::rdstate