0_0_1224518_2586.cpp
VC\include\algorithm(1795) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::_Tree<_Traits>::iterator”中)的模板参数
with
[
_Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
]
VC\include\xutility(634) : 参见“std::operator`-'”的声明
0_0_1224518_2586.cpp(20) : 参见对正在编译的函数模板实例化“void std::sort<std::_Tree<_Traits>::iterator>(_RanIt,_RanIt)”的引用
with
[
_Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>,
_RanIt=std::_Tree<std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>>::iterator
]
VC\include\algorithm(1795) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::_Tree<_Traits>::iterator”中)的模板参数
with
[
_Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
]
VC\include\xutility(634) : 参见“std::operator`-'”的声明
VC\include\algorithm(1795) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::_Tree<_Traits>::iterator”中)的模板参数
with
[
_Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
]
VC\include\xutility(634) : 参见“std::operator`-'”的声明
VC\include\algorithm(1795) : error C2784: “reverse_iterator<_RanIt>::difference_type std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)” : 未能推导出“const std::reverse_iterator<_RanIt> &”(从“std::_Tree<_Traits>::iterator”中)的模板参数
with
[
_Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
]
VC\include\xutility(634) : 参见“std::operator`-'”的声明
VC\include\algorithm(1795) : error C2676: 二进制“-” : “std::_Tree<_Traits>::iterator”不定义该运算符或到预定义运算符可接收的类型的转换
with
[
_Traits=std::_Tset_traits<int,std::less<int>,std::allocator<int>,false>
]
VC\include\algorithm(1795) : error C2780: “void std::_Sort(_RanIt,_RanIt,_Diff,_Pr)” : 应输入 4 个参数,却提供了 3 个
VC\include\algorithm(1913) : 参见“std::_Sort”的声明
|