offset < length is a safer bounds check than pointer < pointer_to_end. If offset is before the start (underflows), the condition is false.
-
-
I always do offsets with unsigned integers, thought it was implied :) But yeah ptrdiff_t distances sometimes make sense.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.