Espacios de nombres
Variantes
Acciones

std::ostreambuf_iterator::operator=

De cppreference.com
 
 
Biblioteca de iteradores
Conceptos de iteradores
Primitivas de iteradores
Conceptos de algoritmos y servicios
Conceptos invocables indirectos
Requerimientos comunes de algoritmos
Servicios
Adaptadores de iteradores
Iteradores de flujos
Puntos de personalización de iteradores
Operaciones de iteradores
(C++11)
(C++11)
Acceso a rangos
(C++11)(C++14)
(C++11)(C++14)
(C++17)(C++20)
(C++14)(C++14)
(C++14)(C++14)
(C++17)
(C++17)
 
std::ostreambuf_iterator
Las funciones miembro
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::operator=
 
ostreambuf_iterator& operator=( CharT c )
Si vuelve failed() true, inserta el c carácter en el búfer de la secuencia asociado llamando pbuf->sputc(c), donde pbuf es el miembro privado de streambuf_type* tipo. De lo contrario, no hace 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.
Si la llamada a pbuf->sputc(c) vuelve Traits::eof, establece el indicador FAILED () para cierto .
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.

Contenido

[editar] Parámetros

c -
el carácter a insertar
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] Ejemplo

[editar] Ver también

Escribe un carácter a la zona de sometimiento y avanza el puntero siguiente.
(función miembro pública de std::basic_streambuf<CharT,Traits>) [editar]