When designing the overloaded operators for a class, we must choose whether to make each operator a class member or an ordinary nonmember function.

 
  • 为类设计重载操作符的时候,必须选择是将操作符设置为类成员还是普通非成员函数。
今日热词
目录 附录 查词历史