Three-way comparison result: less-than, equal, or greater-than.
Declared in <folly/lang/Ordering.h>
enum class ordering : int8_t;
| Name | Description |
|---|---|
lt | The left operand is less than the right operand. |
eq | The two operands are equal. |
gt | The left operand is greater than the right operand. |
| Name | Description |
|---|---|
to_ordering | Convert a signed comparison value into the matching ordering. |