Files
2025-10-25 03:02:53 +03:00

2.3 KiB

[istreambuf.iterator.ops]

24 Iterators library [iterators]

24.6 Stream iterators [stream.iterators]

24.6.4 Class template istreambuf_iterator [istreambuf.iterator]

24.6.4.4 Operations [istreambuf.iterator.ops]

🔗

charT operator*() const;

1

#

Returns: The character obtained via thestreambuf membersbuf_->sgetc().

🔗

istreambuf_iterator& operator++();

2

#

Effects: As if by sbuf_->sbumpc().

3

#

Returns: *this.

🔗

proxy operator++(int);

4

#

Returns: proxy(sbuf_->sbumpc(), sbuf_).

🔗

bool equal(const istreambuf_iterator& b) const;

5

#

Returns: true if and only if both iterators are at end-of-stream, or neither is at end-of-stream, regardless of whatstreambuf object they use.

🔗

template<class charT, class traits> bool operator==(const istreambuf_iterator<charT,traits>& a, const istreambuf_iterator<charT,traits>& b);

6

#

Returns: a.equal(b).

🔗

friend bool operator==(const istreambuf_iterator& i, default_sentinel_t s);

7

#

Returns: i.equal(s).