[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.