Lines Matching refs:lhs
119 friend bool operator<(WrappedRecord lhs, WrappedRecord rhs) {
120 assert(lhs && rhs && "sorting null nodes");
121 return lhs.get()->getName() < rhs.get()->getName();
123 friend bool operator>(WrappedRecord lhs, WrappedRecord rhs) {
124 return rhs < lhs;
126 friend bool operator<=(WrappedRecord lhs, WrappedRecord rhs) {
127 return !(rhs < lhs);
129 friend bool operator>=(WrappedRecord lhs, WrappedRecord rhs) {
130 return !(lhs < rhs);
132 friend bool operator==(WrappedRecord lhs, WrappedRecord rhs) {
134 return lhs.getRecord() == rhs.getRecord();
136 friend bool operator!=(WrappedRecord lhs, WrappedRecord rhs) {
137 return !(lhs == rhs);