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