| 516 | } |
| 517 | bool operator!=(const value& x, const value& y) { return not(x == y); } |
| 518 | bool operator<(const value& x, const value& y) |
| 519 | { |
| 520 | if(x.get_type() != y.get_type()) |
| 521 | return x.get_type() < y.get_type(); |
| 522 | return compare(x, y, std::less<>{}); |
| 523 | } |
| 524 | bool operator<=(const value& x, const value& y) { return not(x > y); } |
| 525 | bool operator>(const value& x, const value& y) { return y < x; } |
| 526 | bool operator>=(const value& x, const value& y) { return not(x < y); } |