How to prohibit the use of copy constructor and assignment operator? Those. so that only another class could use the class, and in main it was impossible to create an instance of this class.
In main should not be compiled, but in another class it would be possible:
A a; A a(b); A a=b;
main
- Fllw