std::istreambuf_iterator<CharT,Traits>:: operator++, operator++ (int)
From cppreference.net
<
cpp
|
iterator
|
istreambuf iterator
C++
Iterator library
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::istreambuf_iterator
| Member functions | ||||
|
istreambuf_iterator::operator++
istreambuf_iterator::operator++(int)
|
||||
| Non-member functions | ||||
|
(until C++20)
|
|
istreambuf_iterator
&
operator
++
(
)
;
|
(1) | |
|
/* Proxy */
operator
++
(
int
)
;
|
(2) | |
Bewegt den Iterator vorwärts durch Aufruf von
sbuf_
-
>
sbumpc
(
)
wobei
sbuf_
der gespeicherte Zeiger auf den Streampuffer ist.
Das Verhalten ist undefiniert, wenn der Iterator ein End-of-Stream-Iterator ist.
Parameter
(keine)
Rückgabewert
1)
*
this
2)
Ein
proxy
-Objekt, das das aktuelle Zeichen enthält, erhalten via
operator*()
und den
sbuf_
-Zeiger. Das Dereferenzieren eines
proxy
-Objekts mit
operator*
liefert das gespeicherte Zeichen.
Der Name
proxy
dient nur zur Veranschaulichung.
Exceptions
Kann implementierungsdefinierte Ausnahmen auslösen.