0_0_38323248_23729.cpp
0_0_38323248_23729.cpp(59) : error C2664: “std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string(std::initializer_list<_Elem>,const std::allocator<char> &)”: 无法将参数 1 从“int”转换为“const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &”
with
[
_Elem=char
]
原因如下: 无法从“int”转换为“const std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
无构造函数可以接受源类型,或构造函数重载决策不明确
|