View.opSlice

Returns a copy of the view within the provided bounds

  1. T[] opSlice()
  2. T[] opSlice(size_t start, size_t end)
    struct View(T, SectorType = BasicSector!(T))
    T[]
    opSlice
    (
    size_t start
    ,
    size_t end
    )
    if (
    isSector!(SectorType)()
    )

Parameters

start size_t

the starting index

end size_t

the ending index (exclusive)

Return Value

Type: T[]

Meta