On Thursday, 19 February 2015 at 23:11:16 UTC, Pasqui23 wrote:
On Thursday, 19 February 2015 at 19:32:26 UTC, Andrei Alexandrescu wrote:Yeah,but it could be useful to access where the range is locatedI don't see a need for contiguous ranges if the only embodiment is T[]. -- Andrei
So that you can assess whether "a pointer" (iterator) is in a range on or not at O(1)? Seems there is a different between:
1. uniform spacing 2. with strides or not 3. dense packing (plain array)