std::mbrtoc32
Min standard notice:
Header: <cuchar>
Converts a narrow multibyte character to its UTF-32 character representation.
# Declarations
std::size_t mbrtoc32( char32_t* pc32,
const char* s,
std::size_t n,
std::mbstate_t* ps );
(since C++11)
# Parameters
pc32: pointer to the location where the resulting 32-bit character will be writtens: pointer to the multibyte character string used as inputn: limit on the number of bytes in s that can be examinedps: pointer to the conversion state object used when interpreting the multibyte string
# Return value
The first of the following that applies: