std:: wctrans
| 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 | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Functions | ||||||||||||||||||||||||||
| Character classification | ||||||||||||||||||||||||||
| Character manipulation | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Conversions to numeric formats | ||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
| String manipulation | ||||||||||||||||||||||||||
| String examination | ||||||||||||||||||||||||||
| Array manipulation | ||||||||||||||||||||||||||
|
Defined in header
<cwctype>
|
||
|
std::
wctrans_t
wctrans
(
const
char
*
str
)
;
|
||
Constructs a value of type
std::
wctrans_t
that describes a
LC_CTYPE
category of wide character mapping. It may be one of the standard mappings, or a locale-specific mapping, such as
"tojhira"
or
"tojkata"
.
Contents |
Parameters
| str | - |
C string holding the name of the desired mapping.
The following values of
|
Return value
std:: wctrans_t object suitable for use with std::towctrans to map wide characters according to the named mapping of the current C locale or zero if str does not name a mapping supported by the current C locale.
Example
|
This section is incomplete
Reason: no example |
See also
performs character mapping according to the specified
LC_CTYPE
mapping category
(function) |
|
|
C documentation
for
wctrans
|
|