cpp/io/basic ios/fail

Returns if an error has occurred on the associated stream. Specifically, returns if  or  is set in rdstate.

See for the list of conditions that set  or.

Parameters
(none)

Return value
if an error has occurred, otherwise.