Array.opSlice

  1. Variant[] opSlice(size_t start, size_t end)
    struct Array
    @nogc nothrow
    opSlice
    (
    size_t start
    ,
    size_t end
    )
  2. const(Variant)[] opSlice(size_t start, size_t end)
  3. Variant[] opSlice()
  4. const(Variant)[] opSlice()

Return Value

Type: Variant[]

a slice of the array memory. The slice does *not* have ownership of the reference-counted memory and is invalid after the original Array goes out of scope or is resized.

Meta