Lines Matching refs:lhs
105 friend bool operator==(const Array<T, N>& lhs, const Array<T, M>& rhs) {
106 return lhs.size() == rhs.size() && std::equal(lhs.begin(), lhs.end(), rhs.begin());
110 friend bool operator<(const Array<T, N>& lhs, const Array<T, M>& rhs) {
111 return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
115 friend bool operator>(const Array<T, N>& lhs, const Array<T, M>& rhs) {
116 return rhs < lhs;
120 friend bool operator!=(const Array<T, N>& lhs, const Array<T, M>& rhs) {
121 return !(lhs == rhs);
125 friend bool operator>=(const Array<T, N>& lhs, const Array<T, M>& rhs) {
126 return !(lhs < rhs);
130 friend bool operator<=(const Array<T, N>& lhs, const Array<T, M>& rhs) {
131 return !(lhs > rhs);