InitialType

extract the deepest underlying type of a nested series of unary templates

Members

Aliases

InitialType
alias InitialType = InitialType!U
Undocumented in source.
InitialType
alias InitialType = T
Undocumented in source.

Examples

static struct T {}
static struct U (T) {}

alias V = U!T;
alias W = U!(U!T);

static assert (is (InitialType!T == T));
static assert (is (InitialType!V == T));
static assert (is (InitialType!W == T));

Meta