Two aliases to compare for equality.
$(D_KEYWORD true) if Args[0] is greater than Args[1], $(D_KEYWORD false) otherwise.
enum bool boolCmp(T, U) = T.sizeof < U.sizeof; static assert(!isGreater!(boolCmp, byte, int)); static assert(!isGreater!(boolCmp, uint, int)); static assert(isGreater!(boolCmp, long, int)); enum ptrdiff_t intCmp(T, U) = T.sizeof - U.sizeof; static assert(!isGreater!(intCmp, byte, int)); static assert(!isGreater!(intCmp, uint, int)); static assert(isGreater!(intCmp, long, int));
Tests whether Args[0] is greater than Args[1] according to cmp.
cmp can evaluate to: