get

Like AA.get - soft indexing, throws an Exception (not an Error) on out-of-bounds, even in release builds.

  1. T get(T[] arr, size_t index)
    ref
    T
    get
    (
    T
    )
    (
    T[] arr
    ,
    size_t index
    )
  2. auto get(T[] arr, size_t index, T defaultValue)

Meta