Optional.opSlice

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)
  2. auto opIndex()
  3. auto opSlice(size_t begin, size_t end)
    struct Optional(T)
    static if(isArray!T)
    opSlice
    (
    this This
    )
    (
    size_t begin
    ,
    size_t end
    )
  4. auto opDollar()

Meta