My teacher teached me, that when im using one of the big three (i.e. copy constructor\default\assignment), so the compiler is not going suplly me the other for free and I have to implement them by myself. But I tried to implement a constructor like this:
A(int a): integer(a){};
And I succeed however to do this:
A my_first_ob(100);
A my_second_ob(my_first_ob);
How it is possible? Maybe someone can clear me the things here?