template<std::derived_from<quantity> Q, auto R2, typename Rep2>
requires see below
friend constexpr bool operator==(const Q& lhs, const quantity<R2, Rep2>& rhs);
template<std::derived_from<quantity> Q, auto R2, typename Rep2>
requires see below
friend constexpr auto operator<=>(const Q& lhs, const quantity<R2, Rep2>& rhs);
template<std::derived_from<quantity> Q, Representation Value>
requires see below
friend constexpr bool operator==(const Q& lhs, const Value& rhs);
template<std::derived_from<quantity> Q, Representation Value>
requires see below
friend constexpr auto operator<=>(const Q& lhs, const Value& rhs);