Three-way comparison of two polymorphic objects.
Declared in <mrdocs/ADT/Polymorphic.hpp>
template<class Base>
requires detail::CanVisitCompare<Base>
auto
operator<=>(
Polymorphic<Base> const& lhs,
Polymorphic<Base> const& rhs);
strong_ordering comparing held objects.
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |