重载赋值运算符

1、格式

 basic_string& operator=const basic_string& str );\\赋值操作符

basic_string& operator=(basic_string&& str);\\移动操作符

猜你喜欢

转载自www.cnblogs.com/wllwqdeai/p/10739497.html