Orders two wrappers by their owned values.
Declared in <folly/Indirect.h>
template<
typename U,
typename AA>
constexpr
/* implementation-defined */
operator<=>(
indirect const& lhs,
indirect<U, AA> const& rhs);
This function is a hidden friend of indirect, declared only inside that class: it can be found only through argument-dependent lookup.
A valueless operand orders before a valued one, and two valueless operands compare equivalent.
The three-way comparison result of the owned values.
| Name | Description |
|---|---|
| lhs | The left-hand wrapper. |
| rhs | The right-hand wrapper. |