◐ Shell
clean mode source ↗

std::codecvt_base - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

Definido en el archivo de encabezado <locale>

class codecvt_base;

El std::codecvt_base clase proporciona las constantes de estado de conversión que se heredan y utilizados por las facetas std::codecvt .

Original:

The class std::codecvt_base provides the conversion status constants which are inherited and used by the std::codecvt facets.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Tipos de miembros

Miembro de tipo

Original:

Member type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definition
enum result { ok, partial, error, noconv };

Tipo de enumeración sin ámbito

Original:

Unscoped enumeration type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Valor

Original:

Value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Explanation
ok

conversión se completó con ningún error

Original:

conversion was completed with no error

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

partial

no todos los caracteres de código se convirtieron

Original:

not all source characters were converted

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

error

encontró un carácter no válido

Original:

encountered an invalid character

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

noconv

sin necesidad de conversión, tipos de entrada y salida son los mismos

Original:

no conversion required, input and output types are the same

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Notas

El std::codecvt_base::partial valor se utiliza para indicar que, o bien el rango de destino es demasiado corta para recibir los resultados de la conversión o la entrada se trunca en el medio de un carácter multibyte por lo demás válida .

Original:

The value std::codecvt_base::partial is used to indicate that either the destination range is too short to receive the results of the conversion or the input is truncated in the middle of an otherwise valid multibyte character.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Ver también

Convierte entre codificaciones de caracteres, incluyendo UTF-8, UTF-16, UTF-32.
(plantilla de clase) [editar]