CharT operator*() const; | (1) | |
pointer operator->() const; | (2) | (since C++11) (until C++17) |
Reads a single character by calling sbuf_->sgetc()
where sbuf_
is the stored pointer to the stream buffer.
The behavior is undefined if the iterator is end-of-stream iterator.
(none).
i
, the expressions (*i).m
and i->m
have the same effect. (none).
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/iterator/istreambuf_iterator/operator*