TypesOf

Returns the types of all values given.

$(OD If isFunction!T then the typeof the address is taken if possible) $(OD If typeof(T) can be taken it is) $(OD Else it is appended on as is)

Members

Aliases

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

Return Value

AliasSeq of the resulting types

Examples

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

Meta