tuple

Creates a new $(D_PSYMBOL Tuple).

template tuple(Names...)
tuple
(
Args...
)
(
auto ref Args args
)
if (
Args.length >= Names.length &&
)

Members

Functions

tuple
auto tuple(Args args)

Creates a new $(D_PSYMBOL Tuple).

Parameters

Names

Field names.

Examples

auto t = tuple!("one", "two")(20, 5);
assert(t.one == 20);
assert(t.two == 5);

See Also

$(D_PSYMBOL Tuple).

Meta