diff options
Diffstat (limited to 'src/common/operators.hpp')
-rw-r--r-- | src/common/operators.hpp | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/common/operators.hpp b/src/common/operators.hpp deleted file mode 100644 index 3d44b81..0000000 --- a/src/common/operators.hpp +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef OPERATORS_HPP -#define OPERATORS_HPP - -namespace _operators -{ - class Comparable {}; - - template<class T> - bool operator == (T l, T r) - { - return l.value == r.value; - } - - template<class T> - bool operator != (T l, T r) - { - return l.value != r.value; - } - - template<class T> - bool operator < (T l, T r) - { - return l.value < r.value; - } - - template<class T> - bool operator <= (T l, T r) - { - return l.value <= r.value; - } - - template<class T> - bool operator > (T l, T r) - { - return l.value > r.value; - } - - template<class T> - bool operator >= (T l, T r) - { - return l.value >= r.value; - } -} - -using _operators::Comparable; - -#endif // OPERATORS_HPP |