checkedint-aware wrapper for std.traits.isIntegral
foreach (T; AliasSeq!(int, ushort)) assert(isBasicInt!T && isIntegral!T); assert(!isBasicInt!(SmartInt!int)); assert( isIntegral!(SmartInt!int)); foreach (T; AliasSeq!(double, int[], bool)) assert(!(isBasicInt!T || isIntegral!T));
See Implementation
checkedint-aware wrapper for std.traits.isIntegral