The OpenD Programming Language

Array.opSliceUnary

Slicing operators executing the specified operation on the entire slice.

Precondition: i < j && j < length

Complexity: O(slice.length)

  1. void opSliceUnary()
    struct Array(T)
    void
    opSliceUnary
    (
    string op
    )
    ()
    if (
    op == "++" ||
    op == "--"
    )
    if (
    !is(immutable T == immutable bool)
    )
  2. void opSliceUnary(size_t i, size_t j)

Meta