Copy-swap idiom [C++] | Dark Hacker News