staticLengthRange

Overload has questionable memory safety. Would be quite cool if DIP-1000 could support this use case

  1. auto staticLengthRange(T[n] arr)
    staticLengthRange
    (
    T
    size_t n
    )
    (
    ref T[n] arr
    )
  2. auto staticLengthRange(R range)

See Also

Meta