std::codecvt
Da 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. |
Definido no cabeçalho <locale>
|
||
template< class InternT, |
||
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.
You can help to correct and verify the translation. Click here for instructions.
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.
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 |