0_0_25520104_24507.cpp
0_0_25520104_24507.cpp(14) : error C2365: “cos”: 重定义;以前的定义是“函数”
0_0_25520104_24507.cpp(68) : error C2679: 二进制“>>”: 没有找到接受“overloaded-function”类型的右操作数的运算符(或没有可接受的转换)
VC2013\INCLUDE\istream(485): 可能是“std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_streambuf<char,std::char_traits<char>> *)”
VC2013\INCLUDE\istream(466): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(void *&)”
VC2013\INCLUDE\istream(448): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(long double &)”
VC2013\INCLUDE\istream(430): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(double &)”
VC2013\INCLUDE\istream(411): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(float &)”
VC2013\INCLUDE\istream(392): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned __int64 &)”
VC2013\INCLUDE\istream(373): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(__int64 &)”
VC2013\INCLUDE\istream(353): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned long &)”
VC2013\INCLUDE\istream(335): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(long &)”
VC2013\INCLUDE\istream(317): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned int &)”
VC2013\INCLUDE\istream(291): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(int &)”
VC2013\INCLUDE\istream(272): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(unsigned short &)”
VC2013\INCLUDE\istream(237): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(short &)”
VC2013\INCLUDE\istream(218): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::_Bool &)”
VC2013\INCLUDE\istream(211): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::ios_base &(__cdecl *)(std::ios_base &))”
VC2013\INCLUDE\istream(204): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_ios<char,std::char_traits<char>> &(__cdecl *)(std::basic_ios<char,std::char_traits<char>> &))”
VC2013\INCLUDE\istream(198): 或 “std::basic_istream<char,std::char_traits<char>> &std::basic_istream<char,std::char_traits<char>>::operator >>(std::basic_istream<char,std::char_traits<char>> &(__cdecl *)(std::basic_istream<char,std::char_traits<char>> &))”
VC2013\INCLUDE\istream(1103): 或 “std::basic_istream<char,std::char_traits<char>> &std::operator >><char,std::char_traits<char>,double(double)>(std::basic_istream<char,std::char_traits<char>> &&,_Ty (__cdecl &))”
with
[
_Ty=double (double)
]
VC2013\INCLUDE\istream(1093): 或 “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,unsigned char &)”
VC2013\INCLUDE\istream(1086): 或 “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,unsigned char *)”
VC2013\INCLUDE\istream(1079): 或 “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,signed char &)”
VC2013\INCLUDE\istream(1072): 或 “std::basic_istream<char,std::char_traits<char>> &std::operator >><std::char_traits<char>>(std::basic_istream<char,std::char_traits<char>> &,signed char *)”
尝试匹配参数列表“(std::basic_istream<char,std::char_traits<char>>, overloaded-function)”时
0_0_25520104_24507.cpp(73) : error C2563: 在形参表中不匹配
0_0_25520104_24507.cpp(73) : error C2568: “=”: 无法解析函数重载
VC2013\INCLUDE\xtgmath.h(96): 可能是“::std::enable_if<std::is_integral<_Ty>::value,double>::type cos(_Ty)”
VC2013\INCLUDE\math.h(1167): 或 “long double cos(long double) throw()”
VC2013\INCLUDE\math.h(1051): 或 “float cos(float) throw()”
VC2013\INCLUDE\math.h(484): 或 “double cos(double)”
VC2013\INCLUDE\math.h(484): 或 “double cos(double)”
VC2013\INCLUDE\math.h(1051): 或 “float cos(float) throw()”
VC2013\INCLUDE\math.h(1167): 或 “long double cos(long double) throw()”
VC2013\INCLUDE\xtgmath.h(96): 或 “::std::enable_if<std::is_integral<_Ty>::value,double>::type cos(_Ty)”
0_0_25520104_24507.cpp(75) : error C2143: 语法错误 : 缺少“,”(在“)”的前面)
0_0_25520104_24507.cpp(77) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)
0_0_25520104_24507.cpp(78) : error C2947: 应由“>”终止 模板参数列表,却找到“>>”
0_0_25520104_24507.cpp(78) : error C2563: 在形参表中不匹配
0_0_25520104_24507.cpp(78) : error C2568: “&&”: 无法解析函数重载
VC2013\INCLUDE\xtgmath.h(96): 可能是“::std::enable_if<std::is_integral<_Ty>::value,double>::type cos(_Ty)”
VC2013\INCLUDE\math.h(1167): 或 “long double cos(long double) throw()”
VC2013\INCLUDE\math.h(1051): 或 “float cos(float) throw()”
VC2013\INCLUDE\math.h(484): 或 “double cos(double)”
VC2013\INCLUDE\math.h(484): 或 “double cos(double)”
VC2013\INCLUDE\math.h(1051): 或 “float cos(float) throw()”
VC2013\INCLUDE\math.h(1167): 或 “long double cos(long double) throw()”
VC2013\INCLUDE\xtgmath.h(96): 或 “::std::enable_if<std::is_integral<_Ty>::value,double>::type cos(_Ty)”
0_0_25520104_24507.cpp(78) : error C2143: 语法错误 : 缺少“)”(在“>”的前面)
0_0_25520104_24507.cpp(78) : error C2143: 语法错误 : 缺少“;”(在“>”的前面)
0_0_25520104_24507.cpp(85) : fatal error C1004: 发现意外的文件尾
|