std::codecvt<InternT,ExternT,StateT>:: codecvt
From cppreference.net
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::codecvt
| Member functions | ||||
|
codecvt::codecvt
|
||||
|
定义于头文件
<locale>
|
||
|
explicit
codecvt
(
std::
size_t
refs
=
0
)
;
|
||
创建一个 std:: codecvt facet,并将初始引用计数 refs 转发给基类构造函数 locale::facet::facet() 。
参数
| refs | - | 初始引用计数 |