blob: bd42088f91c9d7dcc45c6be1f8b9b584f11bcbf8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "ModifiableString.h"
char& ModifiableString::operator[](int index) {
return str[index];
}
char& ModifiableString::operator[](int index) const {
return str[index];
}
ModifiableString& ModifiableString::operator+=(const ModifiableString& right) {
String::operator=(*this + right);
return *this;
}
|