Lines Matching full:operator
30 // we don't provide copy-ctor and operator= on purpose
39 inline bool operator == (const Point& rhs) const {
42 inline bool operator != (const Point& rhs) const {
43 return !operator == (rhs);
50 // operator < defines an order which allows to use points in sorted
52 bool operator < (const Point& rhs) const {
56 inline Point& operator - () {
62 inline Point& operator += (const Point& rhs) {
67 inline Point& operator -= (const Point& rhs) {
73 const Point operator + (const Point& rhs) const {
77 const Point operator - (const Point& rhs) const {