std::wmemmove (3) - Linux Manuals
std::wmemmove: std::wmemmove
NAME
Synopsis
Defined in header <cwchar>
wchar_t* wmemmove( wchar_t* dest, const wchar_t* src, std::size_t count );
Copies exactly count successive wide characters from the wide character array pointed to by src to the wide character array pointed to by dest.
If count is zero, the function does nothing.
The arrays may overlap: copying takes place as if the wide characters were copied to a temporary wide character array and then copied from the temporary array to dest.
Parameters
dest - pointer to the wide character array to copy to
src - pointer to the wide character array to copy from
count - number of wide characters to copy
Return value
Returns a copy of dest
Notes
This function is not locale-sensitive and pays no attention to the values of the wchar_t objects it copies: nulls as well as invalid characters are copied too.
Example
// Run this code
Possible output:
See also
wmemcpy (function)
memmove (function)
copy
copy_if copies a range of elements to a new location
(C++11)
copy_backward (function template)