Unwrapped

extract the underlying type of a unary template type

Members

Aliases

Unwrapped
alias Unwrapped = U
Undocumented in source.
Unwrapped
alias Unwrapped = T
Undocumented in source.

Examples

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

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

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

Meta