Array.opIndex

  1. inout(T) opIndex(size_t pos)
    struct Array(T)
    ref inout @trusted
    inout(T)
    opIndex
    (
    size_t pos
    )
  2. Range opIndex()
  3. ConstRange opIndex()

Parameters

pos size_t

Index.

Return Value

Type: inout(T)

The value at a specified index.

Precondition: length > pos.

Meta