added move assignment operator

This commit is contained in:
DhruvMaroo
2021-05-30 12:33:40 +05:30
parent 689b5fb98b
commit bdc5674ace
2 changed files with 7 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ public:
wchar_t operator[](const int idx) const;
void operator=(const String &s);
void operator=(String&& s);
bool operator==(const String &s) const;
bool operator!=(const String &s) const;
String operator+(const String &s) const;