Back to slide -- Keyboard shortcut: 'u'        next -- Keyboard shortcut: 'n'          templates/functions/point-norms-and-compare/point.h - The Point class definition - a template - policy parameterized.Lecture 6 - slide 9 : 46
Program 1

template <typename N> class Point {
private: 
  double x, y;

public:
  Point(double, double);
  Point();
  double getx () const;
  double gety () const;

  double distance_to(Point<N>);
  bool less_than(const Point<N>&);
};

template <typename N> std::ostream& operator<<(std::ostream&, const Point<N>&);