(bitmask type)

Type for stream state flags.
  Bitmask type to store stream error state flags. The flag values can be any combination of the following constant member values:

ios_base::badbitLoss of integrity of stream buffer.
ios_base::eofbitEnd-Of-File reached while extracting from an input sequence.
ios_base::failbitLast input operation failed before completion.
ios_base::goodbitNo error. Represents the absence of all the above.

See also.
  ios_base class

© The C++ Resources Network, 2001