std::codecvt_base
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. |
definiert in Header <locale>
|
||
class codecvt_base; |
||
Die Klasse std::codecvt_base bietet die Umwandlung Status-Konstanten, die vererbt und werden von den std::codecvt Facetten verwendet .
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Mitglied Typen
Mitglied Typ
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 }; | Ohne Bereichseinschränkung Aufzählungstyp
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. |
Value
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
|
Umwandlung wurde ohne Fehler beendet
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
|
nicht alle Quellzeichen umgewandelt wurden
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
|
hat eine ungültige Zeichen
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
|
kein Umbau erforderlich, Eingabe und Ausgabe-Typen sind die gleichen
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. |
[Bearbeiten] Notes
Der Wert std::codecvt_base::partial wird verwendet, um anzuzeigen, dass entweder der Zielbereich zu kurz, um die Ergebnisse der Umwandlung erhalten ist oder der Eingang ist in der Mitte einer sonst gültiges Multibyte-Zeichen abgeschnitten .
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Siehe auch
Konvertiten zwischen Zeichenkodierungen, inklusive 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. (Klassen-Template) |