3 ms·
read cppreference.com But the sort answer is all the other operators are automatically generated from that one if it is defined. So it makes the code simpler.
by wscott 3y ago
read cppreference.com
But the sort answer is all the other operators are automatically generated from that one if it is defined. So it makes the code simpler. And for many types <=> isn't much more complicated than the others