What is The Rule of Three?


Q:What is The Rule of Three?
  1. What does copying an object mean?
  2. What are the copy constructor and the copy assignment operator?
  3. When do I need to declare them myself?
  4. How can I prevent my objects from being copied?


Best Answer: 

No comments:

Post a Comment