public IndexedRoR!(Collection, Range) indexedRoR(Collection, Range)(
    Collection collection, 
    Range range) 
if(__traits(compiles, Range.init[size_t.init]))

Creates a projection of a generalized

Collection
range for the numeric case case starting from
0
onto a custom
range
of any type.

Parameters

collection

range to be projected from

range

random access range to be projected to

Returns

Range with a projection to range for every element of collection

See Also:

, , ,