RealType

Will strip off any Nullable, Typedefs and qualifiers from a given type. It's a bit paranoid and tries to remove any identifiers multiple times, until the removal attempt yields no changes, but it shouldn't be a problem since it's all just compile-time.

template RealType (
T
) {}

Examples

static assert(RealType!(const Nullable!(immutable int) == int));

Meta