0

When is it necessary and / or advisable to implement non-default

  1. copy constructors
  2. move constructors
  3. destructors
unshul
  • 269
  • 3
  • 16
  • 3
    http://stackoverflow.com/questions/4172722/what-is-the-rule-of-three – PaulMcKenzie Jan 03 '16 at 00:29
  • 1
    almost never. let library types like `vector`, `shared_ptr` and `string` handle that for you. if you **need** to write a resource manager, remember the single responsibility rule. – sp2danny Jan 03 '16 at 00:37

0 Answers0