Custom distance() function.
This new `util:distance()` operating on an iterator `I` and a sentinel `S`. It reverts to `std::distance()` if `I==S`, otherwise it increments iterator sequentially until it reaches the sentinel and returns the number of total increments. Also removed tests for ranges with `l>r`.
Please register or sign in to comment