A naive reference counted string implementation.
Go to file
2016-10-23 15:36:19 +02:00
.gitignore added gitignore 2016-10-23 03:44:55 +02:00
Char.cpp made a char wrapper: Char, which implements copy-on-write for String 2016-10-23 15:34:59 +02:00
Char.h made a char wrapper: Char, which implements copy-on-write for String 2016-10-23 15:34:59 +02:00
CMakeLists.txt now the non-const String::operator[] returns a Char class instead of a 2016-10-23 15:36:10 +02:00
manualtest.cpp added manual test for new Char copy-on-write mechanic 2016-10-23 15:36:19 +02:00
String.cpp now the non-const String::operator[] returns a Char class instead of a 2016-10-23 15:36:10 +02:00
String.h now the non-const String::operator[] returns a Char class instead of a 2016-10-23 15:36:10 +02:00
StringValue.cpp made an index_of() method for StringValue, which calculates the index of 2016-10-23 15:34:59 +02:00
StringValue.h made an index_of() method for StringValue, which calculates the index of 2016-10-23 15:34:59 +02:00
test.cpp added some new, forgotten test cases and made some new ones for the new 2016-10-23 15:34:59 +02:00