std::ostreambuf_iterator::failed
bool failed() const; | | |
|---|
回报true如果迭代器遇到文件结束条件,即,如果先前调用std::basic_streambuf::sputc28%运算符=29%返回Traits::eof...
参数
%280%29
返回值
true如果此迭代器在输出时遇到文件结束条件,false否则。
例外
(none) | (until C++11) |
|---|---|
noexcept specification: noexcept | (since C++11) |
例
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

