The OpenD Programming Language

Tuple.opBinary

Concatenate Tuples. Tuple concatenation is only allowed if all named fields are distinct (no named field of this tuple occurs in t and no named field of t occurs in this tuple).

struct Tuple
opBinary
(
string op
T
)
(
auto ref T t
)
if (
op == "~" &&
!(
is(T : U[],
U
) &&
)
)

Parameters

t T

The Tuple to concatenate with

Return Value

Type: auto

A concatenation of this tuple and t

Meta