adding != operator to fc::microseconds
This commit is contained in:
parent
5719d28a19
commit
9874fc9076
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ namespace fc {
|
||||||
|
|
||||||
|
|
||||||
bool operator==(const microseconds& c)const { return _count == c._count; }
|
bool operator==(const microseconds& c)const { return _count == c._count; }
|
||||||
|
bool operator!=(const microseconds& c)const { return _count != c._count; }
|
||||||
friend bool operator>(const microseconds& a, const microseconds& b){ return a._count > b._count; }
|
friend bool operator>(const microseconds& a, const microseconds& b){ return a._count > b._count; }
|
||||||
friend bool operator>=(const microseconds& a, const microseconds& b){ return a._count >= b._count; }
|
friend bool operator>=(const microseconds& a, const microseconds& b){ return a._count >= b._count; }
|
||||||
friend bool operator<(const microseconds& a, const microseconds& b){ return a._count < b._count; }
|
friend bool operator<(const microseconds& a, const microseconds& b){ return a._count < b._count; }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue