Skip to content

mp_units::cbrt

Computes the cubic root of a reference

Synopsis

Declared in <mp-units/framework/reference.h>

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

Note

This function is a hidden friend of reference, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The result of computation

Note

The return value should not be discarded.

Parameters

NameDescription
rReference being the base of the operation