0_0_24780715_25816.cpp
0_0_24780715_25816.cpp(12) : error C2679: 二进制“>>”: 没有找到接受“std::string”类型的右操作数的运算符(或没有可接受的转换)
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>,std::string>(std::basic_istream<char,std::char_traits<char>> &&,_Ty &)”
with
[
_Ty=std::string
]
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::istream, std::string)”时
0_0_24780715_25816.cpp(32) : error C2059: 语法错误:“常量”
0_0_24780715_25816.cpp(34) : error C2059: 语法错误:“常量”
0_0_24780715_25816.cpp(35) : error C2059: 语法错误:“常量”
VC2013\INCLUDE\deque(16) : error C2143: 语法错误 : 缺少“;”(在“{”的前面)
VC2013\INCLUDE\deque(16) : error C2447: “{”: 缺少函数标题(是否是老式的形式表?)
VC2013\INCLUDE\queue(17) : error C2065: “deque”: 未声明的标识符
VC2013\INCLUDE\queue(17) : error C2275: “_Ty”: 将此类型用作表达式非法
0_0_24780715_25816.cpp(77) : 参见“_Ty”的声明
0_0_24780715_25816.cpp(77) : error C2974: 'std::queue' : 模板 对于 '_Container'是无效参数,应为类型
VC2013\INCLUDE\queue(19) : 参见“std::queue”的声明
0_0_24780715_25816.cpp(77) : error C2133: “que”: 未知的大小
0_0_24780715_25816.cpp(77) : error C2512: “std::queue”: 没有合适的默认构造函数可用
0_0_24780715_25816.cpp(85) : error C2663: “std::queue<_Ty,_Container>::push”: 2 个重载没有“this”指针的合法转换
0_0_24780715_25816.cpp(88) : error C2662: “bool std::queue<_Ty,_Container>::empty(void) const”: 不能将“this”指针从“std::queue”转换为“const std::queue<_Ty,_Container> &”
原因如下: 无法从“std::queue”转换为“const std::queue<_Ty,_Container>”
转换要求第二个用户定义的转换运算符或构造函数
0_0_24780715_25816.cpp(88) : fatal error C1903: 无法从以前的错误中恢复;正在停止编译
|