If only the copy constructor of a class is explicitly defined then object of that class is not possible to be created from main() function code example
Example: create copy constructor c++
// Copy constructor
Point(const Point &p2) {x = p2.x; y = p2.y; }
int getX() { return x; }
int getY() { return y; }
};