|
06cebc829e
|
made Char ctor explicit
|
2016-10-23 18:00:22 +02:00 |
|
|
bc0fc06772
|
added some comments for class Char, and added some TODO's
|
2016-10-23 15:42:57 +02:00 |
|
|
53efe34ed1
|
added manual test for new Char copy-on-write mechanic
|
2016-10-23 15:36:19 +02:00 |
|
|
4a1709d626
|
now the non-const String::operator[] returns a Char class instead of a
primitive
|
2016-10-23 15:36:10 +02:00 |
|
|
44ef56941e
|
made an index_of() method for StringValue, which calculates the index of
a char
|
2016-10-23 15:34:59 +02:00 |
|
|
8dcfca2d62
|
made a char wrapper: Char, which implements copy-on-write for String
|
2016-10-23 15:34:59 +02:00 |
|
|
cd7d35da9a
|
added some new, forgotten test cases and made some new ones for the new
methods of String
|
2016-10-23 15:34:59 +02:00 |
|
|
c42cd20dd6
|
added new manual tests for new methods in String
|
2016-10-23 15:34:59 +02:00 |
|
|
1dec4febcc
|
implemented remaining methods and added checks to neccessary methods
(some methods, like size() could segfault on empty Strings)
|
2016-10-23 15:34:30 +02:00 |
|
|
06d045f457
|
fixed overflow detection in StringValue::operator[]
|
2016-10-23 14:12:13 +02:00 |
|
|
c3f6968411
|
added a "manual" test, so the code can be profiled / leak checked in
valgrind
|
2016-10-23 03:47:16 +02:00 |
|
|
48dd293d1d
|
added unit tests using GTest library
|
2016-10-23 03:46:48 +02:00 |
|
|
36dc44ac2d
|
added implementations for every header
|
2016-10-23 03:46:28 +02:00 |
|
|
9311aa6938
|
added header files for String and StringValue
|
2016-10-23 03:45:46 +02:00 |
|
|
7ee0ebcfac
|
added CMakeLists.txt
|
2016-10-23 03:45:20 +02:00 |
|
|
285d41e84e
|
added gitignore
|
2016-10-23 03:44:55 +02:00 |
|