News for hackers. Stuff that matters.
Re:The Anatomy of the Assignment Operator (1997) by Sharlin on Tuesday March 03, 2015 @04:15PM (#9140810)
Yes, the copy-and-swap idiom [1] is the classic "correct" (but somewhat unintuitive) answer to this problem. It was probably not widely known in 1997, though.

[1] http://stackoverflow.com/questions/3279543/what-is-the-copy-...

Re:The Anatomy of the Assignment Operator (1997) by maxlybbert on Tuesday March 03, 2015 @04:28PM (#9140892)
According to the article, correctly implementing copy assignment wasn't widely known either.