Signed

checkedint-aware wrapper for std.traits.Signed

template Signed (
T
) {}

Examples

static assert(is(Signed!int == int));
static assert(is(Signed!(SmartInt!int) == SmartInt!int));
static assert(is(Signed!ulong == long));
static assert(is(Signed!(SmartInt!ulong) == SmartInt!long));

Meta