Espacios de nombres
Variantes

std::locale::classic

De cppreference.com
 
 
 
 
Definido en el archivo de encabezado <locale>
static const locale& classic();
Obtiene una referencia a la configuración regional C + + que implementa el clásico "C" semántica regional. Este local, a diferencia de la configuración regional global, no puede 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.

Parámetros

ninguno
Original:
none
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

Devuelve una referencia a la localización "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.

Notas

Algunos de los aspectos normativos necesarios, tales como la conversión std::codecvt<char32_t, char, std::mbstate_t> UTF-8/UTF-32 faceta, no tienen equivalentes en la localización "C", pero son sin embargo presente en el entorno local devuelto por std::locale::classic(), como en cualquier otro lugar construido en un 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.

Ejemplo

Ver también

[estático]
Cambia la configuración regional global.
(función miembro estática pública) [editar]