Order two wrapped FeeFracs by feerate.
Declared in <util/feefrac.h>
std::strong_ordering
operator<=>(
ByRatio const& a,
ByRatio const& b) noexcept;
Note that we can use std::strong_ordering here, because even though FeeFrac{1,2} and FeeFrac{2,4} are distinct as FeeFracs, they are indistinguishable from ByRatio's perspective (operator== also treats them as equal).
The ordering of the feerates of a and b.
| Name | Description |
|---|---|
| a | The first operand. |
| b | The second operand. |