good

To test for the lack of error bits being set.

  bool good() const;
  
Remarks

Use the function good() to test for the lack of error bits being set.

Returns true if rdstate() == 0.

For an example of good() usage refer to basic_ios::bad()