Lines Matching refs:lhs
222 friend bool operator==( const int& lhs, const Foo& rhs ) {
224 return lhs == rhs.my_bar;
227 friend bool operator==( const Foo& lhs, const int& rhs ) {
228 CHECK_FAST_MESSAGE(lhs.is_valid_or_zero(), "Comparing invalid objects");
229 return lhs.my_bar == rhs;
232 friend bool operator==( const Foo& lhs, const Foo& rhs ) {
233 CHECK_FAST_MESSAGE(lhs.is_valid_or_zero(), "Comparing invalid objects");
235 return lhs.my_bar == rhs.my_bar;
238 friend bool operator<( const Foo& lhs, const Foo& rhs ) {
239 CHECK_FAST_MESSAGE(lhs.is_valid_or_zero(), "Comparing invalid objects");
241 return lhs.my_bar < rhs.my_bar;
286 friend bool operator==( const FooIteratorType& lhs, const FooIteratorType& rhs ) {
287 return lhs.x_bar == rhs.x_bar;
290 friend bool operator!=( const FooIteratorType& lhs, const FooIteratorType& rhs ) {
291 return !(lhs == rhs);