Lines Matching defs:operator
40 // we don't provide copy-ctor and operator= on purpose
139 inline bool operator == (const Rect& rhs) const {
144 inline bool operator != (const Rect& rhs) const {
145 return !operator == (rhs);
148 // operator < defines an order which allows to use rectangles in sorted
150 bool operator < (const Rect& rhs) const;
152 const Rect operator + (const Point& rhs) const;
153 const Rect operator - (const Point& rhs) const;
155 Rect& operator += (const Point& rhs) {
158 Rect& operator -= (const Point& rhs) {
194 inline void set(const Rect& rhs) { operator = (rhs); }