std::istreambuf_iterator<CharT,Traits>::operator++, operator++(int) - cppreference.com (original) (raw)
| istreambuf_iterator& operator++(); | (1) | | | ----------------------------------- | --- | | | /* proxy */ operator++( int ); | (2) | |
Advances the iterator by calling sbuf_->sbumpc() where sbuf_ is the stored pointer to the stream buffer.
The behavior is undefined if the iterator is end-of-stream iterator.
[edit] Parameters
(none)
[edit] Return value
*this
A
proxyobject holding the current character obtained via operator*() and thesbuf_pointer. Dereferencing aproxyobject withoperator*yields the stored character.
The name proxy is for exposition only.
[edit] Exceptions
May throw implementation-defined exceptions.