There is a way to say exactly that: specialize
- 4. Designs and Declarations
- from Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition
- Publisher: Addison-Wesley Professional
- Released: May 2005
You can also enable move assign/copy for your type, and moving will be performed, instead of copying.
Share this highlighthttp://www.safaribooksonline.com/a/effective-c-55/2445815/