Content deleted Content added
Dpleibovitz (talk | contribs) |
→Overloading move assignment operator: Based on the MS link. Assuming text is more than one char. |
||
Line 38:
if (this != &otherString) {
delete[] text;
this->text = otherString.text;
otherString.text = nullptr;
|