Far*_*zam
3
c++
algorithm
stl
numeric
c++11
我power在numeric标题中找到了STL ,它power(TYPE T, Integer a)在O(log(a))中计算,但是当我编写它并用g++它编译它时给了我编译错误并说error: ‘power’ was not declared in this scope.为什么会这样?我知道编写在O(log(N)中计算的幂函数很容易买到我想知道C++的标准库中是否有就绪函数.C++ 11标准中没有添加任何功能吗?