class POINT { friend bool operator==(POINT const &, POINT const &); public: POINT(double const, double const); POINT(point const &); operator point const &() const; private: point point_; }; End of Listing