|
Console Library 8.0.0
A header-only library that makes C++ simple
|
幂运算变换器。 More...
#include <gextra.h>
Public Member Functions | |
| template<class U> | |
| auto | operator() (U x) const -> decltype(std::pow(x, exponent)) |
| 计算输入值的指定次幂。 | |
Public Attributes | |
| T | exponent |
幂运算变换器。
| T | 指数类型。 |
|
inline |
计算输入值的指定次幂。
| x | 输入值。 |
| T console::ops::Pow< T >::exponent |