Self assignment

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

详细:

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

posted on 2017-04-15 16:05  cleverlzc  阅读(150)  评论(0编辑  收藏  举报