Template Function sdv::operator<=(const string_base<TCharType, bUnicodeLeft, nFixedSizeLeft>&, const string_base<TCharType, bUnicodeRight, nFixedSizeRight>&)#

Function Documentation#

template<typename TCharType, bool bUnicodeLeft, size_t nFixedSizeLeft, bool bUnicodeRight, size_t nFixedSizeRight>
bool sdv::operator<=(const string_base<TCharType, bUnicodeLeft, nFixedSizeLeft> &rssLeft, const string_base<TCharType, bUnicodeRight, nFixedSizeRight> &rssRight) noexcept#

Compare whether the left character sequence is lexicograpgically smaller than or equal to the right character sequences.

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

  • nFixedSizeLeft – Fixed size of the left string.

  • bUnicodeLeft – When set, the left string is a unicode string.

  • bUnicodeRight – When set, the right string is a unicode string.

  • nFixedSizeRight – Fixed size of the right string.

Parameters:
  • rssLeft[in] Reference to the left string.

  • rssRight[in] Reference to the right string.

Returns:

Returns ‘true’ when left is smaller than or equal to right; ‘false’ otherwise.