Optional.opIndex

Index operator with auto return types

  1. auto opIndex(size_t index)
    struct Optional(T)
    static if(isArray!T)
    opIndex
    (
    this This
    )
    (
    size_t index
    )
  2. auto opIndex()

Parameters

index size_t

given index of the array

Meta