Lines Matching refs:lhs
435 …friend bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…
437 …return lhs.GetLength() == rhs.GetLength() && std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(…
440 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
442 …return std::memcmp(lhs.m_Data, rhs, sizeof(Char) * lhs.GetLength()) == 0 && rhs[lhs.GetLength()] =…
445 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
447 return rhs == lhs;
451 …friend bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…
453 return !(lhs == rhs);
456 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)
458 return !(lhs == rhs);
461 friend bool operator!=(const Char* lhs, const FixedLengthString& rhs)
463 return !(lhs == rhs);
467 …friend bool operator<(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& …
469 …int n = std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(Char) * std::min(lhs.GetLength(), rhs…
470 return n < 0 || (n == 0 && lhs.GetLength() < rhs.GetLength());
474 …friend bool operator>(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& …
476 return rhs < lhs;
480 …friend bool operator<=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>&…
482 return !(lhs > rhs);
486 …friend bool operator>=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>&…
488 return rhs <= lhs;