ValueTuple

Same as TypeTuple, but meant to be used with values.

template ValueTuple (
T...
) {}

Members

Aliases

ValueTuple
alias ValueTuple = T
Undocumented in source.

Examples

foreach (char channel; ValueTuple!('r', 'g', 'b')) { // the loop is unrolled at compile-time // "channel" is a compile-time value, and can be used in string mixins }

Meta