0_0_35208861_31417.cpp
0_0_35208861_31417.cpp(18) : error C2664: “void std::stack<std::string,std::deque<_Ty,std::allocator<_Ty>>>::push(const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &)”: 无法将参数 1 从“char”转换为“std::basic_string<char,std::char_traits<char>,std::allocator<char>> &&”
with
[
_Ty=std::string
]
原因如下: 无法从“char”转换为“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
无构造函数可以接受源类型,或构造函数重载决策不明确
0_0_35208861_31417.cpp(23) : error C2678: 二进制“==”: 没有找到接受“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”类型的左操作数的运算符(或没有可接受的转换)
VC2013\INCLUDE\system_error(410): 可能是“bool std::operator ==(const std::error_condition &,const std::error_code &) throw()”
VC2013\INCLUDE\system_error(402): 或 “bool std::operator ==(const std::error_code &,const std::error_condition &) throw()”
VC2013\INCLUDE\exception(507): 或 “bool std::operator ==(const std::exception_ptr &,std::nullptr_t)”
VC2013\INCLUDE\exception(502): 或 “bool std::operator ==(std::nullptr_t,const std::exception_ptr &)”
VC2013\INCLUDE\exception(497): 或 “bool std::operator ==(const std::exception_ptr &,const std::exception_ptr &)”
尝试匹配参数列表“(std::basic_string<char,std::char_traits<char>,std::allocator<char>>, char)”时
|