The OpenD Programming Language

mir_slice.opIndexAssign

Assignment of a value (e.g. a number) to a fully defined slice.

  1. void opIndexAssign(Slice!(RIterator, RN, rkind) value, Slices slices)
  2. void opIndexAssign(T[] value, Slices slices)
  3. void opIndexAssign(T concatenation, Slices slices)
  4. void opIndexAssign(T value, Slices slices)
    struct mir_slice(Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous, Labels_...)
    scope
    static if(isMutable!DeepElement)
    static if(!isNumeric!DeepElement)
    void
    opIndexAssign
    (
    T
    Slices...
    )
    (,
    Slices slices
    )
    if (
    (
    isFullPureSlice!Slices ||
    isIndexedSlice!Slices
    )
    &&
    &&
    DynamicArrayDimensionsCount!T == DynamicArrayDimensionsCount!DeepElement
    &&
    &&
    )
    if (
    0 < N_ &&
    N_ < 255
    &&
    !(
    kind_ == Canonical &&
    N_ == 1
    )
    &&
    Labels_.length <= N_
    &&
    isIterator!Iterator_
    )
  5. auto ref opIndexAssign(T value, size_t[N] _indices)
  6. auto ref opIndexAssign(DeepElement value, size_t[N] _indices)

Meta