std::locale::classic
Aus 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>| definiert in Header <locale>
|
||
static const locale& classic(); |
||
Ruft einen Verweis auf die C + + locale, die die klassischen "C"-Locale Semantik implementiert. Diese locale, im Gegensatz zu den globalen locale, können nicht geändert werden .
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.
Parameter
keine
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.
Rückgabewert
Gibt einen Verweis auf die "C"-Locale .
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
Einige der Standard-required Facetten, wie die UTF-8/UTF-32 Umwandlung Facette
std::codecvt<char32_t, char, std::mbstate_t> haben keine Entsprechung in der "C"-Locale, aber sie sind trotzdem in der locale zurückgegebenen std::locale::classic(), wie in jedem anderen locale gebaut in einer C + +-Programm .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.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
[statisch] |
ändert die globale locale 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. (public static Elementfunktion) |