mp_units::cbrt

cbrt overloads

Synopses

Declared in <mp-units/framework/dimension.h>
Computes the cubic root of a dimension
[[nodiscard]]
consteval
Unit auto
cbrt(auto d);


» more...
[[nodiscard]]
consteval
/* implementation-defined */
cbrt(reference);


» more... Computes the cubic root of a quantity
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;


» more...

Return Value

Parameters

Name Description
d Dimension being the base of the operation
q Quantity specification being the base of the operation
u Unit being the base of the operation

Created with MrDocs