![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Abstraction Mechanisms, Part 1 - slide 17 : 36 |
If you do not define a copy constructor and an assignment operator yourself, the compiler provides them for you
This is not convenient if you explicitly want to prevent object copying
Compiler enforced prevention
This is a trick!