Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / String / String.h
diff options
context:
space:
mode:
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/Generic/String/String.h3
diff --git a/src/Generic/String/String.h b/src/Generic/String/String.h
index 9ef6795..5c5231d 100644
--- a/src/Generic/String/String.h
+++ b/src/Generic/String/String.h
@@ -9,10 +9,13 @@ class String {
void copyFrom(const String& other);
public:
+ String(unsigned length);
String(const char* str);
const char* get_cstr() const;
unsigned get_length() const;
+ char& operator[](unsigned index);
+
String();
String(const String& other);
String& operator=(const String& other);