(1) | template <class T, class charT, class traits, class Distance> bool operator== (const istream_iterator<T,charT,traits,Distance>& lhs, const istream_iterator<T,charT,traits,Distance>& rhs); |
---|---|
(2) | template <class T, class charT, class traits, class Distance> bool operator!= (const istream_iterator<T,charT,traits,Distance>& lhs, const istream_iterator<T,charT,traits,Distance>& rhs); |
<iterator>
中重载。true
;否则为 false
。