basic_ios iostate flags functions
To set flags pertaining to the state of the input and output streams.
operator bool
operator !
rdstate
clear
setstate
good
eof
fail
bad
exceptions