[#mp_units-cbrt-07]
= xref:mp_units.adoc[mp&lowbar;units]::cbrt
:relfileprefix: ../
:mrdocs:

Computes the cubic root of a quantity

== Synopses

Declared in `&lt;mp&hyphen;units&sol;math&period;h&gt;`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
consteval
&sol;&ast; implementation-defined &ast;&sol;
xref:mp_units/cbrt-0e.adoc[cbrt](xref:mp_units/reference.adoc[reference]);
----

[.small]#xref:mp_units/cbrt-0e.adoc[_» more&period;&period;&period;_]#

Computes the cubic root of a quantity


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    auto R,
    typename Rep&gt;
requires requires(Rep v) &lcub; cbrt(v)&semi; &rcub; &verbar;&verbar; requires(Rep v) &lcub; std&colon;&colon;cbrt(v)&semi; &rcub;
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
constexpr
xref:mp_units/quantity-01.adoc[quantity&lt;cbrt(R), Rep&gt;]
xref:mp_units/cbrt-0d.adoc[cbrt](xref:mp_units/quantity-01.adoc[quantity&lt;R, Rep&gt;] const& q) noexcept;
----

[.small]#xref:mp_units/cbrt-0d.adoc[_» more&period;&period;&period;_]#

== Return Value

Quantity The result of computation

== Parameters

[cols="1,4"]
|===
| Name| Description
| *q*
| Quantity being the base of the operation
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
