Comparison with another quantity of the same unit.
auto a = 3 * metre; auto b = 4 * metre; auto c = 5 * second; assert(a != b); assert(a < b); assert(!__traits(compiles, a != c)); assert(!__traits(compiles, a < c));
See Implementation
Comparison with another quantity of the same unit.