std::locale::classic
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>| Definido no cabeçalho <locale>
|
||
static const locale& classic(); |
||
Obtém uma referência para o local C + + que implementa o clássico "C" semântica localidade. Este local, ao contrário da localidade global, não pode ser alterada.
Original:
Obtains a reference to the C++ locale that implements the classic "C" locale semantics. This locale, unlike the global locale, cannot be altered.
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
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.
Valor de retorno
Retorna uma referência para o local "C".
Original:
Returns a reference to the "C" locale.
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.
Notas
Algumas das facetas padrão necessários, tais como o
std::codecvt<char32_t, char, std::mbstate_t> faceta UTF-8/UTF-32 conversão, não têm equivalentes na localidade "C", mas são, no entanto, presente na localidade retornado por std::locale::classic(), como em qualquer outro local construído em um programa C + +.Original:
Some of the standard-required facets, such as the UTF-8/UTF-32 conversion facet
std::codecvt<char32_t, char, std::mbstate_t>, have no equivalents in the "C" locale, but they are nevertheless present in the locale returned by std::locale::classic(), as in any other locale constructed in a C++ program.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
[estática] |
muda a localidade global Original: changes the global locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função public static membro) |