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)
현재 문자를
operator*()
를 통해 획득하고
sbuf_
포인터를 보유하는
proxy
객체.
proxy
객체를
operator*
로 역참조하면 저장된 문자가 반환됩니다.
proxy
라는 이름은 설명 목적으로만 사용됩니다.
예외
구현 정의 예외를 던질 수 있습니다.