Back to slide -- Keyboard shortcut: 'u'        next -- Keyboard shortcut: 'n'          constructors-point-rectangle/more-about-constructs/point.h - The Point class - with explicit and deleted constructors.Lecture 4 - slide 7 : 40
Program 1

// Class Point with explicit constructor, and deleted copy constructor.

class Point {
private: 
  double x, y;

public:
  Point();                    
  explicit Point(double x);             // Cannot be used in implicit type conversions
  Point(double x, double y);  
  Point(const Point&) = delete;         // The default generated copy constructor cannot be used

  // other members
};