As with the copy constructor, the compiler synthesizes an assignment operator if the class does not define its own.

 
  • 与复制构造函数一样,如果类没有定义自己的赋值操作符,则编译器会合成一个。
今日热词
目录 附录 查词历史