Lines Matching refs:lhs
468 …friend bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…
470 …return lhs.GetLength() == rhs.GetLength() && std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(…
473 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
475 …return std::memcmp(lhs.m_Data, rhs, sizeof(Char) * lhs.GetLength()) == 0 && rhs[lhs.GetLength()] =…
478 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
480 return rhs == lhs;
484 …friend bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>…
486 return !(lhs == rhs);
489 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)
491 return !(lhs == rhs);
494 friend bool operator!=(const Char* lhs, const FixedLengthString& rhs)
496 return !(lhs == rhs);
500 …friend bool operator<(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& …
502 …int n = std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(Char) * std::min(lhs.GetLength(), rhs…
503 return n < 0 || (n == 0 && lhs.GetLength() < rhs.GetLength());
507 …friend bool operator>(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& …
509 return rhs < lhs;
513 …friend bool operator<=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>&…
515 return !(lhs > rhs);
519 …friend bool operator>=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>&…
521 return rhs <= lhs;