TypesOf

Returns the types of all values given. * * If a T is an expression it is resolved with typeof else it is just * appended. * * Returns: AliasSeq of the resulting types

Members

Aliases

T
alias T = typeof(Values[0])
Undocumented in source.
T
alias T = Values[0]
Undocumented in source.
TypesOf
alias TypesOf = AliasSeq!(T, TypesOf!(Values[1..$]))
Undocumented in source.
TypesOf
alias TypesOf = AliasSeq!()
Undocumented in source.

Examples

import std.meta : AliasSeq;
static assert(is(TypesOf!("hello", 1, 2, 3.0, real) ==
				 AliasSeq!(string, int, int, double, real)));

Meta