Template MapTuple
Takes a tuple and maps it with the given function or template.
template MapTuple(alias mapper, T...)
;
Contained Functions
Name | Description |
---|---|
getElementsMixinList |
Example
alias tuple = AliasSeq!(1, "hello", 1L, [1, 2, 3]);
MapTuple!(a => a .to!string, tuple); // gives AliasTuple!("1", "hello", "1", "[1, 2, 3]")
MapTuple!(Quirks, tuple); // gives AliasTuple!(Quirks!(1), Quirks!("hello"), Quirks!(1L), Quirks!([1, 2, 3]))