mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-09 12:31:06 -04:00
Add support for operator!=
This commit is contained in:
parent
ace9a013ad
commit
8c313dc336
@ -245,6 +245,10 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool operator!=(const CharT* s) const {
|
||||
return !(*this == s);
|
||||
}
|
||||
|
||||
bool operator==(const basic_string& rhs) const {
|
||||
if(size() != rhs.size()){
|
||||
return false;
|
||||
@ -259,6 +263,10 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool operator!=(const basic_string& rhs) const {
|
||||
return !(*this == rhs);
|
||||
}
|
||||
|
||||
//Iterators
|
||||
|
||||
iterator begin(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user