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

Function Documentation#

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

Create Utf-8 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.