Type Alias

ArraySlice.Index

The index type for arrays, Int.

Declaration

typealias Index = Int

Discussion

ArraySlice instances are not always indexed from zero. Use startIndex and endIndex as the bounds for any element access, instead of 0 and count.