C++ Overloading operator with rvalue and lvalue returning same type

后端 未结 0 1254
北恋
北恋 2020-12-24 02:36
Tab operator=(Tab& other);
Tab operator=(Tab&& other);

I have to overload operator= with lvalue and rvalue. Having these declarations in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题