summaryrefslogtreecommitdiff
path: root/Source/Library/Common/BasicString.class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Library/Common/BasicString.class.h')
-rw-r--r--Source/Library/Common/BasicString.class.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Library/Common/BasicString.class.h b/Source/Library/Common/BasicString.class.h
index 03d82c1..553c331 100644
--- a/Source/Library/Common/BasicString.class.h
+++ b/Source/Library/Common/BasicString.class.h
@@ -28,6 +28,9 @@ class BasicString {
bool operator== (const BasicString<T> &other) const { return compare(other); }
bool operator!= (const BasicString<T> &other) const { return !compare(other); }
+ bool operator<(const BasicString<T>& other) const;
+ bool operator>(const BasicString<T>& other) const { return (other < *this); }
+
BasicString<T>& append(const BasicString<T> &other);
BasicString<T>& append(const T* string, u32int length);
BasicString<T>& append(const T other);