Function Array.opIndex

Indexing operators yield or modify the value at a specified index.

inout ref inout(T) opIndex (
  I index
);

Precondition

first <= index <= last

Complexity

1