std::wctrans
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Text processing library
Regular expressions library (C++11)
Formatting library (C++20)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++26)
Null-terminated wide strings
(C++11)
(C++11)(C++11)
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
[edit] Parameters
str
-
C string holding the name of the desired mapping.
The following values of str
are supported in all C locales:
Value of
str
Effect
"toupper"
identifies the mapping used by towupper
"tolower"
identifies the mapping used by towlower
[edit] 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.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example
[edit] See also
C documentation for wctrans