So I have this code :
class A{
public:
A(){}
A(int){}
};
int main(){
A x;//I want this to give me error
A x(1);//or this to give me error
return 0;
}
How to make the class to be impossible to be constructed? without changing visibility of the constructors;