Computes the value of a reference raised to the Num/Den power

Synopsis

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

template<
    intmax_t Num,
    intmax_t Den = 1>
requires (Den != 0)
[[nodiscard]]
consteval
/* implementation-defined */
pow(reference);

Return Value

The result of computation

Template Parameters

Name

Description

Num

Exponent numerator

Den

Exponent denominator

Parameters

Name

Description

r

Reference being the base of the operation

Created with MrDocs