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>| Déclaré dans l'en-tête <locale>
|
||
static const locale& classic(); |
||
Obtient une référence à la C + + locale qui implémente les classiques sémantique "C". Ce lieu, contrairement à la locale globale, ne peut pas être modifié .
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.
Paramètres
aucun
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.
Retourne la valeur
Renvoie une référence à la localisation "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.
Notes
Quelques-uns des aspects de normalisation nécessaires, telles que la conversion
std::codecvt<char32_t, char, std::mbstate_t> UTF-8/UTF-32 facette, n'ont pas d'équivalent dans la localisation "C", mais ils sont néanmoins présents dans la locale retournée par std::locale::classic(), comme dans tout autre local construit dans un programme 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.
Exemple
| This section is incomplete Reason: no example |
Voir aussi
[ statique ]Original: static The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
change la 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. (fonction membre publique statique) |