Comparisons
| 159 | |
| 160 | // Comparisons |
| 161 | bool equals(const JsonValue * other) const override { |
| 162 | return m_value == static_cast<const Value<tag, T> *>(other)->m_value; |
| 163 | } |
| 164 | bool less(const JsonValue * other) const override { |
| 165 | return m_value < static_cast<const Value<tag, T> *>(other)->m_value; |
| 166 | } |