import checkedint.throws : SmartInt, SafeInt; // use IntFlagPolicy.throws
assert(is(BasicScalar!(SafeInt!int) == int));
assert(is(BasicScalar!(SmartInt!ushort) == ushort));
assert(is(BasicScalar!int == int));
assert(is(BasicScalar!(const shared real) == real));
Aliases to the basic scalar type associated with T, assuming either:
Otherwise, BasicScalar aliases to void.