◐ Shell
clean mode source ↗

std::codecvt_base — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<locale>

class codecvt_base;

Le std::codecvt_base classe fournit les constantes état de la conversion qui sont héritées et utilisées par les facettes 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.

Types de membres

Type du membre Définition
enum result { ok, partial, error, noconv };

Type d'énumération sans portée

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.

Valeur

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

conversion a été effectuée sans erreur

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

tous les caractères de source ont été converties

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

rencontré un caractère non valide

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

aucune conversion n'est requise, l'entrée et les types de sortie sont les mêmes

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.

Notes

Le std::codecvt_base::partial valeur est utilisée pour indiquer que soit la plage de destination est trop courte pour recevoir les résultats de la conversion ou de l'entrée est tronquée au milieu d'un caractère multi-octets par ailleurs valide .

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.

Voir aussi

convertis entre les codages de caractères, y compris UTF-8, UTF-16, UTF-32

Original:

converts between character encodings, including UTF-8, UTF-16, UTF-32

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


(classe générique) [edit]