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