0_0_1748621_19024.cpp
0_0_1748621_19024.cpp(39) : error C2668: “max” : 对重载函数的调用不明确
0_0_1748621_19024.cpp(9): 可能是“const T &max<std::basic_string<_Elem,_Traits,_Ax>::size_type>(const T &,const T &)”
with
[
T=std::basic_string<char,std::char_traits<char>,std::allocator<char>>::size_type,
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
VC\include\xutility(1242): 或 “const _Ty &std::max<std::basic_string<_Elem,_Traits,_Ax>::size_type>(const _Ty &,const _Ty &)”
with
[
_Ty=std::basic_string<char,std::char_traits<char>,std::allocator<char>>::size_type,
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
试图匹配参数列表“(std::basic_string<_Elem,_Traits,_Ax>::size_type, std::basic_string<_Elem,_Traits,_Ax>::size_type)”时
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
and
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
|