std::ostreambuf_iterator<CharT,Traits>:: operator=
| Iterator concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator primitives | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Algorithm concepts and utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Indirect callable concepts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Common algorithm requirements | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Utilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Iterator adaptors | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
|
ostreambuf_iterator::operator=
|
||||
|
ostreambuf_iterator
&
operator
=
(
CharT c
)
;
|
||
만약
failed()
가
false
를 반환하면,
c
문자를 연관된 스트림 버퍼에
pbuf
-
>
sputc
(
c
)
호출을 통해 삽입합니다. 여기서
pbuf
는
streambuf_type*
타입의 private 멤버입니다. 그렇지 않으면 아무 작업도 수행하지 않습니다.
pbuf - > sputc ( c ) 호출이 Traits :: eof 를 반환하면 failed() 플래그를 true로 설정합니다.
목차 |
매개변수
| c | - | 삽입할 문자 |
반환값
* this
예제
|
이 섹션은 불완전합니다
이유: 예제가 없음 |
참고 항목
|
put area에 한 문자를 기록하고 다음 포인터를 전진시킵니다
(
std::basic_streambuf<CharT,Traits>
의 public member function)
|