[expr.spaceship] (original) (raw)

Otherwise, the operands have floating-point type, and the result is of type std​::​partial_­ordering.

The expression a <=> b yieldsstd​::​partial_­ordering​::​lessif a is less than b,std​::​partial_­ordering​::​greaterif a is greater than b,std​::​partial_­ordering​::​equivalentif a is equivalent to b, andstd​::​partial_­ordering​::​unordered otherwise.