diff options
Diffstat (limited to 'include/string')
-rw-r--r-- | include/string | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/string b/include/string index e7fe904..dccd5ac 100644 --- a/include/string +++ b/include/string @@ -306,6 +306,15 @@ class string size_type mLength; // len of the string excl. null-terminator. }; +// Comparaison: +bool operator<(const string& lhs, const string& rhs); +bool operator<=(const string& lhs, const string& rhs); +bool operator>(const string& lhs, const string& rhs); +bool operator>=(const string& lhs, const string& rhs); + +// Swap +void swap(string& lhs, string& rhs); + // I/O ostream& operator<<(ostream& os, const string& str); |