有人可以解释这段代码吗?我不明白第3行:
MyString MyString::operator+(const MyString &str) { MyString ss(*this); //----> explain this part ss += str; return ss; }
谢谢!
c++ operator-overloading this
c++ ×1
operator-overloading ×1
this ×1