Remove IsWriteableString

This commit is contained in:
Benoit Blanchon
2021-11-12 15:28:33 +01:00
parent bd42b9638a
commit 0429016ff1
4 changed files with 42 additions and 70 deletions

View File

@ -32,6 +32,11 @@ class String {
return _str == s;
}
String& operator=(const char* s) {
_str.assign(s);
return *this;
}
friend std::ostream& operator<<(std::ostream& lhs, const ::String& rhs) {
lhs << rhs._str;
return lhs;