Template Function sdv::operator<(const pointer<T, nFixedSizeLeft>&, const pointer<T, nFixedSizeRight>&)#

Function Documentation#

template<class T, size_t nFixedSizeLeft, size_t nFixedSizeRight>
bool sdv::operator<(const pointer<T, nFixedSizeLeft> &rptrLeft, const pointer<T, nFixedSizeRight> &rptrRight) noexcept#

Compare whether one pointer is smaller than another pointer.

Template Parameters:
  • T – Type of the pointer to use as a base.

  • nFixedSizeLeft – The fixed size of the left pointer.

  • nFixedSizeRight – The fixed size of the right pointer.

Parameters:
  • rptrLeft[in] Reference to the left pointer.

  • rptrRight[in] Reference to the right pointer.

Returns:

Returns ‘true’ when the left pointer is smaller than the right pointer; false when not.