StaticArray.sliceRO

Get read-only slice in range i .. j.

  1. ReadBorrowed!(T[], typeof(this)) sliceRO()
  2. ReadBorrowed!(T[], typeof(this)) sliceRO(size_t i, size_t j)
    struct StaticArray(T, uint capacity_, bool borrowChecked = false)
    const @trusted return scope
    static if(borrowChecked)
    ReadBorrowed!(T[], typeof(this))
    sliceRO
    (
    size_t i
    ,
    size_t j
    )

Meta