Self assignment

自己赋值给自己,比如:x = x;这可能会导致严重的问题。

详细:

https://isocpp.org/wiki/faq/assignment-operators

原文地址:https://www.cnblogs.com/liuzc/p/6714482.html