Template Function sdv::MakeString(const std::basic_string<TCharTypeSrc>&)#

Function Documentation#

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

Generic string conversion.

Template Parameters:
  • TCharTypeSrc – The character type to use for 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.