MIRA
|
Computes the power base^exponent at compile time. More...
#include <math/Power.h>
Public Types | |
enum | { value = TPower<base,exponent-1>::value * base } |
Computes the power base^exponent at compile time.
The computation at compile time allows to use the value as constant in other expressions (e.g. array sizes, etc).