class Point{private: int x,y;public: Point(int a=0,int b=0):x(a),y(b){} friend Point operator + (Point const & a,Point const & b);};Point operator + (Point const & a,Point const & b){ return Point(a.x+b.x,a.y+b.y);}