| 55 | int ToInt() const { return ptr == nullptr ? -98 : *ptr; } |
| 56 | |
| 57 | bool operator==(const HeapInt& other) const { |
| 58 | return ptr != nullptr && other.ptr != nullptr && *ptr == *other.ptr; |
| 59 | } |
| 60 | bool operator<(const HeapInt& other) const { |
| 61 | return ptr == nullptr || (other.ptr != nullptr && *ptr < *other.ptr); |
| 62 | } |
nothing calls this directly
no outgoing calls
no test coverage detected