bool equal( const istreambuf_iterator& it ) const;
检查 *this 与 it 是否都有效或都无效,无关乎它们所用的流缓冲。
*this
it
*this 与 it 都有效或都无效时返回 true,否则返回 false。
true
false
可能会抛出由实现定义的异常。
下列更改行为的缺陷报告追溯地应用于以前出版的 C++ 标准。
bool equal(istreambuf_iterator& it)
const
istreambuf_iterator&