putExpand

Expand the array if index is out-of-bounds.

  1. T getExpand(T[] arr, size_t index)
  2. T putExpand(T[] arr, size_t index, T value)
    ref
    T
    putExpand
    (
    T
    )
    (
    ref T[] arr
    ,
    size_t index
    ,
    auto ref T value
    )

Meta