ios_base::iostate

typedef T2 iostate;
static const iostate badbit, eofbit, failbit, goodbit;

The type is an enumerated type T2 that describes an object that can store stream state information. The distinct flag values are:

In addition, a useful value is: