Template Function sdv::MakeUtf16String(const string_base<TCharType, bUnicode, nFixedSize>&)#

Function Documentation#

template<typename TCharType, bool bUnicode, size_t nFixedSize>
u16string sdv::MakeUtf16String(const string_base<TCharType, bUnicode, nFixedSize> &rss)#

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

Template Parameters:
  • TCharType – The character type to use for the strings.

  • bUnicode – When set, the string is a unicode string.

  • nFixedSize – Size of the fixed size buffer or 0 for a dynamic sized buffer.

Parameters:

rss[in] Reference to the string.

Returns:

Returns the created string.