D-Programming-Language/phobos — pull request #798 by monarchdodra (2012-09-17 16:30:10+00:00)
Title: ptrEnd for arrays

Something I've found to be missing: Get the end pointer of an array (dynamic or static).

This is a tiny convenience/helper function, but is (IMO) quite useful.

No more writing `arr.ptr + arr.length`. Now, it's just `arr.ptrEnd`