std::basic_filebuf::imbue
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. |
<metanoindex/>
<tbody> </tbody> protected: virtual void imbue( const std::locale& loc ) |
||
Muda o idioma associado para que todos os caracteres inseridos ou extraídos após esta chamada (e até outra chamada para
imbue()) são convertidos usando a faceta std::codecvt de loc.Original:
Changes the associated locale so that all characters inserted or extracted after this call (and until another call to
imbue()) are converted using the std::codecvt facet of loc.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.
Se a região de codificação de idade é dependente do estado e arquivo não está posicionado no início, então o novo local deve ter a faceta std::codecvt mesmo que o previamente impregnado.
Original:
If the old locale's encoding is state-dependent and file is not positioned at the beginning, then the new locale must have the same std::codecvt facet as the one previously imbued.
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.
Parâmetros
| loc | - | a localidade para imbuir o fluxo com
Original: the locale to imbue the stream with The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
(Nenhum)
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.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
Veja também
[virtual] |
altera o local associado Original: changes the associated locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (virtual protegido of std::basic_streambuf função de membro)
|
define a localidade Original: sets the locale 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_ios função pública membro)
|