std::wcsxfrm
From Cppreference
C++ Standard Library | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Strings library | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
Null-terminated wide strings | |||||||||||||||||||||||||||||||||||||
Defined in header <cwchar>
|
||
size_t strxfrm( const wchar_t *dest, const wchar_t *src, std::size_t count );
|
||
Transforms the null-terminated wide string pointed to by src according to the current locale and copies the first count wide characters of the transformed string to destination, returning its length.
Alternatively, the function can be used to only retrieve the length, by specifying a null pointer for dest and 0 for count.
[edit] Parameters
dest | - | pointer to the character string to copy the transformed string to |
src | - | pointer to the null-terminated character string to transform |
count | - | maximum number of characters to transform |
[edit] Return value
The length of the transformed wide string, not including the terminating null-character.
This section is incomplete |