Effective C++ -----条款10: 令operator=返回一个reference to *this

比如:

Widget& operator=(const Widget& rhs)

{

  ...

  return* this;

}

令赋值(assignment)操作符返回一个reference to *this