std::codecvt_base
De cppreference.com
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <locale>
|
||
class codecvt_base; |
||
O std::codecvt_base classe fornece as constantes de conversão de estado que são herdados e utilizados pelas 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.
You can help to correct and verify the translation. Click here for instructions.
Tipos de membro
Tipo de membro
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 enumeração sem escopo
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
|
conversão foi completado sem qualquer erro
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
|
nem todos os caracteres de fonte foram convertidos
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
|
encontrou um caractere invá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
|
necessária nenhuma conversão de entrada, e os tipos de saída são os mesmos
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
O std::codecvt_base::partial valor é usado para indicar que um ou outro intervalo de destino é demasiado curto para receber os resultados da conversão ou a entrada é truncada no meio de um caracter multibyte contrário válido.
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.
