Back to slide -- Keyboard shortcut: 'u'        next -- Keyboard shortcut: 'n'          unique-pointers/point.h - The usual class Point - nothing of particular interest.Lecture 4 - slide 12 : 35
Program 1

// Just the usual Point class. Nothing of particular interest.

class Point {
private: 
  double x, y;

public:
  Point(double, double);
  Point();
  ~Point();
  double getx () const;
  double gety () const;
  void displace(double, double);   // Called move in other contexts
  double distance_to(const Point&);
};

std::ostream& operator<<(std::ostream&, const Point&);