mp_units::pow

Synopsis

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

template<
    intmax_t Num,
    Dimension D>
[[nodiscard]]
consteval
Dimension auto
pow(D d);

NOTE

This function is a hidden friend of base_dimension, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Return Value

NOTE

The return value should not be discarded.