⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vcnet.log

📁 effective stl 源代码 code
💻 LOG
📖 第 1 页 / 共 2 页
字号:
        with
        [
            _Ty=double,
            _InIt=std::vector<float,std::allocator<float>>::iterator,
            _Fn2=std::multiplies<float>
        ]

38-1.cpp

39-1.cpp

40-1.cpp

41-1.cpp !!! fails
41-1.cpp(87) : error C2667: 'std::mem_fun' : none of 4 overloads have a best conversion
        could be 'std::const_mem_fun1_t<_Result,_Ty,_Arg> std::mem_fun(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(504) : see declaration of 'std::mem_fun'
        or       'std::const_mem_fun_t<_Result,_Ty> std::mem_fun(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(495) : see declaration of 'std::mem_fun'
        or       'std::mem_fun1_t<_Result,_Ty,_Arg> std::mem_fun(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(487) : see declaration of 'std::mem_fun'
        or       'std::mem_fun_t<_Result,_Ty> std::mem_fun(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(479) : see declaration of 'std::mem_fun'
41-1.cpp(87) : error C2668: 'std::mem_fun' : ambiguous call to overloaded function
        could be 'std::const_mem_fun1_t<_Result,_Ty,_Arg> std::mem_fun(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(504) : see declaration of 'std::mem_fun'
        or       'std::const_mem_fun_t<_Result,_Ty> std::mem_fun(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(495) : see declaration of 'std::mem_fun'
        or       'std::mem_fun1_t<_Result,_Ty,_Arg> std::mem_fun(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(487) : see declaration of 'std::mem_fun'
        or       'std::mem_fun_t<_Result,_Ty> std::mem_fun(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(479) : see declaration of 'std::mem_fun'

42-1.cpp

43-1.cpp !!! --- fails -----
43-1.cpp(43) : error C2667: 'std::mem_fun_ref' : none of 4 overloads have a best conversion
        could be 'std::const_mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(633) : see declaration of 'std::mem_fun_ref'
        or       'std::const_mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(624) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(616) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(607) : see declaration of 'std::mem_fun_ref'
43-1.cpp(43) : error C2668: 'std::mem_fun_ref' : ambiguous call to overloaded function
        could be 'std::const_mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(633) : see declaration of 'std::mem_fun_ref'
        or       'std::const_mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(624) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(616) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(607) : see declaration of 'std::mem_fun_ref'
43-1.cpp(53) : error C2667: 'std::mem_fun_ref' : none of 4 overloads have a best conversion
        could be 'std::const_mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(633) : see declaration of 'std::mem_fun_ref'
        or       'std::const_mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(624) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(616) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(607) : see declaration of 'std::mem_fun_ref'
43-1.cpp(53) : error C2668: 'std::mem_fun_ref' : ambiguous call to overloaded function
        could be 'std::const_mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(633) : see declaration of 'std::mem_fun_ref'
        or       'std::const_mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(624) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(616) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(607) : see declaration of 'std::mem_fun_ref'

43-2.cpp

44-1.cpp

45-1.cpp

45-2.cpp

46-1.cpp !!! --- same error -----------
46-1.cpp(114) : error C2667: 'std::mem_fun_ref' : none of 4 overloads have a best conversion
        could be 'std::const_mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(633) : see declaration of 'std::mem_fun_ref'
        or       'std::const_mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(624) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(616) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(607) : see declaration of 'std::mem_fun_ref'
46-1.cpp(114) : error C2668: 'std::mem_fun_ref' : ambiguous call to overloaded function
        could be 'std::const_mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(633) : see declaration of 'std::mem_fun_ref'
        or       'std::const_mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void) const)'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(624) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun1_ref_t<_Result,_Ty,_Arg> std::mem_fun_ref(_Result (_Ty::*)(_Arg))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(616) : see declaration of 'std::mem_fun_ref'
        or       'std::mem_fun_ref_t<_Result,_Ty> std::mem_fun_ref(_Result (_Ty::*)(void))'
        E:\Microsoft Visual Studio.NET\Vc7\include\functional(607) : see declaration of 'std::mem_fun_ref'
46-1.cpp(114) : error C2780: '_OutIt std::transform(_InIt1,_InIt1,_InIt2,_OutIt,_Fn2)' : expects 5 arguments - 4 provided
        E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(394) : see declaration of 'std::transform'

47-1.cpp

49-1.cpp
E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1789) : error C2784: 'size_t std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from '_RanIt'
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
        49-1.cpp(44) : see reference to function template instantiation 'void std::sort(_RanIt,_RanIt)' being compiled
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1789) : error C2784: 'size_t std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from '_RanIt'
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
        49-1.cpp(44) : see reference to function template instantiation 'void std::sort(_RanIt,_RanIt)' being compiled
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1789) : error C2784: 'size_t std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from '_RanIt'
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
        49-1.cpp(44) : see reference to function template instantiation 'void std::sort(_RanIt,_RanIt)' being compiled
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1789) : error C2784: 'size_t std::operator -(const std::reverse_iterator<_RanIt> &,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from '_RanIt'
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
        49-1.cpp(44) : see reference to function template instantiation 'void std::sort(_RanIt,_RanIt)' being compiled
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1789) : error C2676: binary '-' : 'std::list<_Ty,_Ax>::iterator' does not define this operator or a conversion to a type acceptable to the predefined operator
        with
        [
            _Ty=int,
            _Ax=std::allocator<int>
        ]
        49-1.cpp(44) : see reference to function template instantiation 'void std::sort(_RanIt,_RanIt)' being compiled
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]
E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1789) : error C2780: 'void std::_Sort(_RanIt,_RanIt,_Diff,_Pr)' : expects 4 arguments - 3 provided
        E:\Microsoft Visual Studio.NET\Vc7\include\algorithm(1907) : see declaration of 'std::_Sort'
        49-1.cpp(44) : see reference to function template instantiation 'void std::sort(_RanIt,_RanIt)' being compiled
        with
        [
            _RanIt=std::list<int,std::allocator<int>>::iterator
        ]

50-1.cpp

50-2.cpp

50-3.cpp ------ on purpose ---------------
E:\Microsoft Visual Studio.NET\Vc7\include\functional(304) : warning C4181: qualifier applied to reference type ignored
        50-3.cpp(29) : see reference to class template instantiation 'std::binder2nd<_Fn2>' being compiled
        with
        [
            _Fn2=std::mem_fun1_t<int,Widget,std::basic_istream<char,std::char_traits<char>> &>
        ]
E:\Microsoft Visual Studio.NET\Vc7\include\functional(303) : error C2529: '_Right' : reference to reference is illegal
        50-3.cpp(29) : see reference to class template instantiation 'std::binder2nd<_Fn2>' being compiled
        with
        [
            _Fn2=std::mem_fun1_t<int,Widget,std::basic_istream<char,std::char_traits<char>> &>
        ]

a-1.cpp
a-1.cpp(19) : error C2039: 'toupper' : is not a member of 'std'
a-1.cpp(20) : error C2039: 'toupper' : is not a member of 'std'
a-1.cpp(109) : error C2039: 'toupper' : is not a member of 'std'
a-1.cpp(109) : error C2660: 'toupper' : function does not take 2 parameters
a-1.cpp(109) : error C2039: 'toupper' : is not a member of 'std'
a-1.cpp(109) : error C2660: 'toupper' : function does not take 2 parameters

b-1.cpp

b-2.cpp

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -