The copy and swap idiom in C++ | Hacker News Reader