Synopses
Declared in <mp-units/framework/quantity.h>
template<
std::derived_from<quantity> Q,
RepresentationOf<quantity_spec> Value>
requires detail::DimensionlessOne<Q::reference> &&
detail::InvokeResultOf<quantity_spec, std::modulus<>, Rep, const Value&>
[[nodiscard]]
constexpr
Quantity auto
operator%(
Q const& lhs,
Value const& rhs);
» more...
template<
std::derived_from<quantity> Q,
RepresentationOf<quantity_spec> Value>
requires detail::DimensionlessOne<Q::reference> &&
detail::InvokeResultOf<quantity_spec, std::modulus<>, Rep, const Value&>
[[nodiscard]]
constexpr
Quantity auto
operator%(
Value const& lhs,
Q const& rhs);
» more...
template<
std::derived_from<quantity> Q,
auto R2,
typename Rep2>
requires (!treat_as_floating_point<Rep>) && (!treat_as_floating_point<Rep2>) &&
detail::CommonlyInvocableQuantities<std::modulus<>, quantity, quantity<R2, Rep2>>
[[nodiscard]]
constexpr
Quantity auto
operator%(
Q const& lhs,
quantity<R2, Rep2> const& rhs);
» more...