you're just relying on the default compiler-generated behavior.
- 3. Resource Management
- from Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition
- Publisher: Addison-Wesley Professional
- Released: May 2005
This can now be expressed directly in code with “= default”.
Share this highlighthttp://www.safaribooksonline.com/a/effective-c-55/2336530/