summaryrefslogtreecommitdiff
path: root/impl/Complete.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'impl/Complete.hpp')
-rw-r--r--impl/Complete.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/impl/Complete.hpp b/impl/Complete.hpp
index 997fb6e..81ced52 100644
--- a/impl/Complete.hpp
+++ b/impl/Complete.hpp
@@ -70,9 +70,15 @@ struct Complete {
return _value < other._value;
}
}
+ bool operator>=(const Complete& other) const {
+ return !(*this < other);
+ }
bool operator>(const Complete& other) const {
return other < *this;
}
+ bool operator<=(const Complete& other) const {
+ return !(*this > other);
+ }
bool operator==(const Complete& other) const {
if (_infinity) {
return other._infinity && ((_value < 0 && other._value < 0) ||