Espaços nominais
Variantes
Acções

std::ostreambuf_iterator::operator=

Da cppreference.com

 
 
Biblioteca Iterator
Primitivas iterador
Original:
Iterator primitives
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iterator_traits
input_iterator_tag
output_iterator_tag
forward_iterator_tag
bidirectional_iterator_tag
random_access_iterator_tag
iterator
Adaptadores de iterador
Original:
Iterator adaptors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
reverse_iterator
Iteradores fluxo
Original:
Stream iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
istream_iterator
ostream_iterator
istreambuf_iterator
ostreambuf_iterator
Operações iterador
Original:
Iterator operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
advance
distance
prev(C++11)
next(C++11)
Variar de acesso
Original:
Range access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
begin(C++11)
end(C++11)
 
std::ostreambuf_iterator
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ostreambuf_iterator::ostreambuf_iterator
ostreambuf_iterator::operator=
ostreambuf_iterator::operator*
ostreambuf_iterator::operator++
ostreambuf_iterator::operator++(int)
ostreambuf_iterator::failed
 
ostreambuf_iterator& operator=( CharT c )
Se failed() retornos true, insere o c personagem no buffer de fluxo associado chamando pbuf->sputc(c), onde pbuf é o membro privado de streambuf_type* tipo. Caso contrário, não faz nada.
Original:
If failed() returns true, inserts the character c into the associated stream buffer by calling pbuf->sputc(c), where pbuf is the private member of type streambuf_type*. Otherwise, does nothing.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Se a chamada para pbuf->sputc(c) retornos Traits::eof, define o sinalizador () falha a verdade.
Original:
If the call to pbuf->sputc(c) returns Traits::eof, sets the failed() flag to true.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Índice

[editar] Parâmetros

c -
o caráter inserir
Original:
the character to insert
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

*this

[editar] Exemplo

[editar] Veja também

escreve um personagem para a área de largada e avança o ponteiro seguinte
Original:
writes one character to the put area and advances the next pointer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(of std::basic_streambuf função pública membro) [edit]