最終更新日時(UTC): 2017年03月15日 08時17分19秒 Akira Takahashi が更新
履歴 編集
void setstate(iostate state);
現在の状態値を設定する。 現在の状態に、実引数で指定された値を加えた状態を新しい状態値とする。
clear(rdstate() | state) を呼び出す。
clear(rdstate() | state)
結果として、exceptions() メンバ関数での設定に従い、ios_base::failure 例外が送出される可能性がある。
exceptions()
ios_base::failure
なし
void setstate(iostate state) { clear(rdstate() | state); }
setstate
clear
rdstate
good
eof
fail
bad
operator bool
operator void*
operator!
exceptions