std::basic_ios::set_rdbuf
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| protected: void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb ); |
||
Establece el búfer de la secuencia asociada a
sb sin borrar su estado de error .Original:
Sets the associated stream buffer to
sb without clearing its error state.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.
Esta función miembro está protegido: es llamado por los constructores de movimiento de las corrientes derivadas como std::basic_ofstream o std::basic_istringstream, como paso final después de la construcción de la clase base y después de mover el búfer de la secuencia: sólo la clase más derivada corriente sabe cómo mover correctamente el búfer de la secuencia, pero std::basic_ios tiene que estar al tanto de la nueva ubicación del corriente, de modo que sus funciones miembro públicas pueden acceder a ella .
Original:
This member function is protected: it is called by the move constructors of the derived streams such as std::basic_ofstream or std::basic_istringstream, as the final step after constructing the base class and after moving the stream buffer: only the most derived stream class knows how to correctly move the stream buffer, but std::basic_ios needs to be made aware of the stream's new location so that its public member functions can access it.
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
| sb | - | búfer de la secuencia de asociar a
Original: stream buffer to associate to 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
(Ninguno)
Original:
(none)
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.
[editar] Excepciones
(Ninguno)
Original:
(none)
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.
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| gestiona buffer asociado arroyo Original: manages associated stream buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) | |