O'Reilly logo
  • Ben Medina thinks this is interesting:

First, if the default implementation of swap offers acceptable efficiency for your class or class template, you don't need to do anything.


Cover of Effective C++: 55 Specific Ways to Improve Your Programs and Designs, Third Edition


This is now much more common with the ability to do move construct/assign.