std::locale::classic
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <locale>
|
||
static const locale& classic(); |
||
Ottiene un riferimento al C + + locale che implementa il classico "C" semantica delle impostazioni internazionali. Questo locale, a differenza del locale globale, non può essere modificata.
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.
Parametri
nessuno
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.
Valore di ritorno
Restituisce un riferimento al locale "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.
Note
Alcuni degli standard richiesti sfaccettature, come il
std::codecvt<char32_t, char, std::mbstate_t> UTF-8/UTF-32 conversione aspetto, non hanno equivalenti nel locale "C", ma sono comunque presenti nel locale restituito da std::locale::classic(), come in qualsiasi altro locale costruito in un programma 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.
Esempio
| This section is incomplete Reason: no example |
Vedi anche
[statico] |
cambia il locale globale 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. (metodo pubblico statico) |