| 100 | explicit SimpleString(const char *s) : string((char *)s) {} |
| 101 | ~SimpleString() {} |
| 102 | void clear() |
| 103 | { |
| 104 | freeStr(); |
| 105 | string = nullptr; |
| 106 | } |
| 107 | void copyStr(const char *s) { string = (char *)s; } |
| 108 | void freeStr() { (string) ? free(string) : (void)0; } |
| 109 | // assigment operators |
no outgoing calls
no test coverage detected