Template Function sdv::MakeUtf32String(const TCharType *, size_t)#

Function Documentation#

template<typename TCharType>
u32string sdv::MakeUtf32String(const TCharType *sz, size_t nCount = u32string::npos)#

Create Utf-32 string by providing strings of other types.

Template Parameters:

TCharType – The character type to use for the strings.

Parameters:
  • sz[in] Pointer to a string.

  • nCount[in] The amount of characters in the string or ‘npos’ when the string is zero terminated.

Returns:

Returns the created string.