Espaços nominais
Variantes
Acções

std::codecvt

Da cppreference.com
< cpp‎ | locale

 
 
Biblioteca localizações
Localidades e facetas
Original:
Locales and facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Classificação de caracteres
Original:
Character classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Conversões
Original:
Conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Facet classes base da categoria
Original:
Facet category base classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Categorias faceta
Original:
Facet categories
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Específicos da localidade facetas
Original:
Locale-specific facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Facetas de conversão de código
Original:
Code conversion facets
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
C localidade
Original:
C locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
 
Definido no cabeçalho <locale>
template<

    class InternT,
    class ExternT,
    class State

> class codecvt;
Classe std::codecvt conversão encapsula de cadeias de caracteres, incluindo largura e multibyte, a partir de uma codificação para outro. Todos os arquivos I / O operações realizadas através std::basic_fstream<CharT> usar a faceta std::codecvt<CharT, char, std::mbstate_t> do local imbuído na corrente.
Original:
Class std::codecvt encapsulates conversion of character strings, including wide and multibyte, from one encoding to another. All file I/O operations performed through std::basic_fstream<CharT> use the std::codecvt<CharT, char, std::mbstate_t> facet of the locale imbued in the stream.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
cpp/locale/codecvt basecpp/locale/locale/facetstd-codecvt-inheritance.svg
Sobre esta imagem

Inheritance diagram

Quatro especializações são fornecidos pela biblioteca padrão e são implementadas por todos os objetos localidade criado em um programa em C + +:
Original:
Four specializations are provided by the standard library and are implemented by all locale objects created 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.
Defined in header <locale>
std::codecvt<char, char, std::mbstate_t>
conversão de identidade
Original:
identity conversion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::codecvt<char16_t, char, std::mbstate_t>
conversão entre UTF-16 e UTF-8 (desde C++11)
Original:
conversion between UTF-16 and UTF-8 (desde C++11)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click