operator==,!=(std::istreambuf_iterator<CharT,Traits>)
来自cppreference.com
| 在标头 <iterator> 定义
|
||
| |
(1) | |
| |
(2) | (C++20 前) |
| |
(3) | (C++20 起) |
检查 lhs 与 rhs 是否都有效,或是否都无效,无关乎它们所用的流缓冲区对象。
1) 等价于
lhs.equal(rhs)。2) 等价于
!lhs.equal(rhs)。