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) | |
|
/* プロキシ */
operator
++
(
int
)
;
|
(2) | |
イテレータを進めるために、
sbuf_
-
>
sbumpc
(
)
を呼び出します。ここで
sbuf_
はストリームバッファへの格納されたポインタです。
イテレータがストリーム終端イテレータの場合、動作は未定義です。
パラメータ
(なし)
戻り値
1)
*
this
2)
現在の文字を保持する
proxy
オブジェクトは
operator*()
を通じて取得され、
sbuf_
ポインタを保持します。
proxy
オブジェクトを
operator*
でデリファレンスすると、保存された文字が取得されます。
名前
proxy
は説明専用です。
例外
実装定義の例外をスローする可能性があります。