std::ostreambuf_iterator::operator=
De cppreference.com
< cpp | iterator | ostreambuf iterator
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
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.
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.
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
Esta sección está incompleta |
[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> )
|