[#mp_units-cbrt-07] = xref:mp_units.adoc[mp_units]::cbrt :relfileprefix: ../ :mrdocs: `cbrt` overloads == Synopses Declared in `<mp‐units/framework/dimension.h>` Computes the cubic root of a dimension [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval xref:mp_units/QuantitySpec.adoc[QuantitySpec] auto xref:mp_units/cbrt-05.adoc[cbrt](auto d); ---- [.small]#xref:mp_units/cbrt-05.adoc[_» more..._]# [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] consteval /* implementation-defined */ xref:mp_units/cbrt-0e.adoc[cbrt](xref:mp_units/reference.adoc[reference]); ---- [.small]#xref:mp_units/cbrt-0e.adoc[_» more..._]# Computes the cubic root of a quantity [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< auto R, typename Rep> requires requires(Rep v) { cbrt(v); } || requires(Rep v) { std::cbrt(v); } [[nodiscard]] constexpr xref:mp_units/quantity-01.adoc[quantity<cbrt(R), Rep>] xref:mp_units/cbrt-0d.adoc[cbrt](xref:mp_units/quantity-01.adoc[quantity<R, Rep>] const& q) noexcept; ---- [.small]#xref:mp_units/cbrt-0d.adoc[_» more..._]# == Return Value * Dimension The result of computation * QuantitySpec The result of computation * Unit The result of computation * Quantity The result of computation == Parameters [cols=2] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#