expandTuples

Expand tuples in-place.

extern (C++)
void
expandTuples
(
Expressions* exps
,
Identifiers* names = null
)

Parameters

exps Expressions*

array of Expressions

names Identifiers*

optional array of names corresponding to Expressions

Examples

When there's a call f(10, pair: AliasSeq!(20, 30), single: 40), the input is: exps = [10, (20, 30), 40] names = [null, "pair", "single"] The arrays will be modified to: exps = [10, 20, 30, 40] names = [null, "pair", null, "single"]

Meta