Three-way comparison operator
Declared in <mp-units/framework/symbol_text.h>
template<
std::size_t N,
std::size_t M,
std::size_t N2>
[[nodiscard]]
consteval
auto
operator<=>(
symbol_text<N, M> const& lhs,
char const(& rhs)[])
requires requires { symbol_text<N, M>(rhs); };
This function is a hidden friend of symbol_text, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |