Skip to content
Snippets Groups Projects
Commit 452361b0 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

RegExp op!=

parent eff95ec8
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,10 @@ bool RegExp::operator==(const RegExp& other) const {
return *(this->regExp) == *(other.regExp);
}
 
bool RegExp::operator!=(const RegExp& other) const {
return *(this->regExp) != *(other.regExp);
}
bool RegExp::operator>(const RegExp& other) const {
return *(this->regExp) > *(other.regExp);
}
......
......@@ -77,9 +77,10 @@ public:
* @param regexp RegExp to print
*/
friend ostream& operator<<(ostream& out, RegExp& regexp);
bool operator<(const RegExp&) const;
bool operator==(const RegExp&) const;
bool operator!=(const RegExp&) const;
bool operator>(const RegExp&) const;
};
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment