Array.opBinaryRight

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

struct Array
opBinaryRight
(
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)
)
)

Meta