Iterators will only compare equal if they are both null. Equality comparability is required to make an Iterator of Iterators (to check for the end condition).
| 143 | /// Equality comparability is required to make an Iterator of Iterators |
| 144 | /// (to check for the end condition). |
| 145 | bool Equals(const Iterator& other) const { return ptr_ == other.ptr_; } |
| 146 | |
| 147 | explicit operator bool() const { return ptr_ != NULLPTR; } |
| 148 |
nothing calls this directly
no outgoing calls
no test coverage detected