8 ms·
aka the spaceship operator. By defining just the spaceship operator for some types A and B, the compiler can synthesize overloads for the typical comparison ope
by cpeterso 2y ago
aka the spaceship operator. By defining just the spaceship operator for some types A and B, the compiler can synthesize overloads for the typical comparison operators like < <= == >= > for A vs B and B vs A.