Template Function sdv::MakeString(const string_base<TCharTypeSrc, bUnicodeSrc, nFixedSizeSrc>&)#

Function Documentation#

template<typename TCharTypeSrc, bool bUnicodeSrc, size_t nFixedSizeSrc, typename TCharTypeDst, bool bUnicodeDst, size_t nFixedSizeDst>
string_base<TCharTypeDst, bUnicodeDst, nFixedSizeDst> sdv::MakeString(const string_base<TCharTypeSrc, bUnicodeSrc, nFixedSizeSrc> &rss)#

Generic string conversion.

Template Parameters:
  • TCharTypeSrc – The character type to use for the source string.

  • bUnicodeSrc – When set, the source string is a unicode string.

  • nFixedSizeSrc – Size of the fixed size buffer or 0 for a dynamic sized buffer of the source string.

  • TCharTypeDst – The character type to use for the destination string.

  • bUnicodeDst – When set, the destination string is a unicode string.

  • nFixedSizeSrc – Size of the fixed size buffer or 0 for a dynamic sized buffer of the destrination string.

Parameters:

rss[in] Reference to the string.

Returns:

Returns the created string.