std::basic_ios<CharT,Traits>::setstate
出自cppreference.com
![]() |
該頁由英文版維基使用谷歌翻譯機器翻譯而來。
該翻譯可能存在錯誤或用詞不當。鼠標停留在文本上可以看到原版本。你可以幫助我們修正錯誤或改進翻譯。參見說明請點擊此處。 |
設置流的錯誤標誌
state
除了目前設置標誌。從本質上要求clear(rdstate() | state)。可能會拋出一個異常.原文:
Sets the stream error flags
state
in addition to currently set flags. Essentially calls clear(rdstate() | state). May throw an exception.文本通過