<mp-units/math.h>
template<
auto R,
typename Rep>
requires requires(Rep v) { cbrt(v); } || requires(Rep v) { std::cbrt(v); }
[[nodiscard]]
constexpr
quantity<cbrt(R), Rep>
cbrt(quantity<R, Rep> const& q) noexcept;
Both the quantity value and its quantity specification are the base of the operation.
Name | Description |
---|---|
q | Quantity being the base of the operation |