void setstate(iostate state);
The member function effectively calls clear(state | rdstate()).
clear
(state |
rdstate
())