Lines Matching refs:rhs
406 FixedLengthString& operator+=(const FixedLengthString<Char, Length, Size>& rhs)
408 this->AppendTail(rhs);
415 FixedLengthString& operator+=(const Char* rhs)
417 this->AppendTail(rhs);
422 …d bool operator==(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
424 …return lhs.GetLength() == rhs.GetLength() && std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(…
427 friend bool operator==(const FixedLengthString& lhs, const Char* rhs)
429 …return std::memcmp(lhs.m_Data, rhs, sizeof(Char) * lhs.GetLength()) == 0 && rhs[lhs.GetLength()] =…
432 friend bool operator==(const Char* lhs, const FixedLengthString& rhs)
434 return rhs == lhs;
438 …d bool operator!=(const FixedLengthString& lhs, const FixedLengthString<Char, Length2, Size2>& rhs)
440 return !(lhs == rhs);
443 friend bool operator!=(const FixedLengthString& lhs, const Char* rhs)
445 return !(lhs == rhs);
448 friend bool operator!=(const Char* lhs, const FixedLengthString& rhs)
450 return !(lhs == rhs);
454 …end bool operator<(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
456 …int n = std::memcmp(lhs.GetString(), rhs.GetString(), sizeof(Char) * std::min(lhs.GetLength(), rhs…
457 return n < 0 || (n == 0 && lhs.GetLength() < rhs.GetLength());
461 …end bool operator>(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
463 return rhs < lhs;
467 …nd bool operator<=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
469 return !(lhs > rhs);
473 …nd bool operator>=(const FixedLengthString& lhs, const FixedLengthString<TChar, Length, Size>& rhs)
475 return rhs <= lhs;