(6) : error C2552: “result”: 不能用初始值设定项列表初始化非聚合
“std::pair<_Ty1,_Ty2>”: 不聚合带用户定义的构造函数的类型
with
[
_Ty1=int,
_Ty2=int
]
(10) : error C3861: “log2”: 找不到标识符
(11) : error C3861: “round”: 找不到标识符
(12) : error C2668: “pow”: 对重载函数的调用不明确
VC8\include\math.h(575): 可能是“long double pow(long double,int)”
VC8\include\math.h(527): 或“float pow(float,int)”
VC8\include\math.h(489): 或“double pow(double,int)”
试图匹配参数列表“(int, int)”时
(17) : error C2059: 语法错误 : “{”
(17) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
(17) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)