<mp-units/framework/quantity.h>
template<
std::derived_from<quantity> Q,
RepresentationOf<quantity_spec> Value>
requires detail::DimensionlessOne<Q::reference> && std::equality_comparable_with<rep, Value>
[[nodiscard]]
constexpr
bool
operator==(
Q const& lhs,
Value const& rhs);
true
if the objects are equal, false
otherwise
Name | Description |
---|---|
lhs | The left operand |
rhs | The right operand |