Optional.opIndex

Provides indexing into arrays

The indexes and slices are also checked to be valid and none is returned if they are not

  1. auto opIndex(size_t index)
    struct Optional(T)
    static if(isArray!T)
    opIndex
    (
    this This
    )
    (
    size_t index
    )
  2. auto opIndex()
  3. auto opSlice(size_t begin, size_t end)
  4. auto opDollar()

Meta