Have assignment operators return a reference to *this. 转载于:https://www.cnblogs.com/zhtf2014/archive/2009/12/27/1633264.html