Array.opBinary

Concatenate two arrays into a new one. The originals are left unaffected if there are still other references to them remaining.

  1. Array opBinary(R other)
    struct Array
    @nogc nothrow
    opBinary
    (
    string op
    R
    )
    (
    in auto ref R other
    )
    if (
    (
    op == "~" ||
    op == "+"
    )
    &&
    !is(Unqual!R : Array)
    &&
    isInputRange!R
    &&
    hasLength!R
    &&
    (
    is(ElementType!R : Variant) ||
    Variant.compatible!(ElementType!R)
    )
    )
  2. Array opBinary(Array other)
  3. Array opBinaryRight(R other)

Meta