Template tuple
Creates a new Tuple.
template tuple(Names...)
;
Contained Functions
Name | Description |
---|---|
tuple | Creates a new Tuple. |
Parameters
Name | Description |
---|---|
Names | Field names. |
See Also
Tuple.
Example
auto t = tuple!("one", "two")(20, 5);
assert(t .one == 20);
assert(t .two == 5);