#include <iostream> iostate rdstate() const;
ios
rdstate() . - C++ , -, . - iostate, .
ios( ios_base).
rdstate() goodbit, ; .