Template tuple

Creates a new Tuple.

template tuple(Names...) ;

Contained Functions

NameDescription
tuple Creates a new Tuple.

Parameters

NameDescription
Names Field names.

See Also

Tuple.

Example

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