PHP Code:
Compiling...
OneFileTest.cpp
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::basic_string<_Elem,_Traits,_Alloc> std::operator +(const std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\string(61) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(31) : see reference to function template instantiation '_Ty std::_Accumulate<std::_Vector_iterator<_Ty,_Alloc>,_Ty>(_InIt,_InIt,_Ty)' being compiled
with
[
_Ty=Lame,
_Alloc=std::allocator<Lame>,
_InIt=std::_Vector_iterator<Lame,std::allocator<Lame>>
]
c:\programming\cpp\onefiletest.cpp(27) : see reference to function template instantiation '_Ty std::accumulate<std::_Vector_iterator<_Ty,_Alloc>,Lame>(_InIt,_InIt,_Ty)' being compiled
with
[
_Ty=Lame,
_Alloc=std::allocator<Lame>,
_InIt=std::_Vector_iterator<Lame,std::allocator<Lame>>
]
c:\programming\cpp\onefiletest.cpp(58) : see reference to function template instantiation 'T sumAll<Lame>(std::vector<_Ty>)' being compiled
with
[
T=Lame,
_Ty=Lame
]
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::basic_string<_Elem,_Traits,_Alloc> std::operator +(const std::basic_string<_Elem,_Traits,_Alloc> &,const _Elem *)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\string(51) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::basic_string<_Elem,_Traits,_Alloc> std::operator +(const _Elem,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\string(41) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::basic_string<_Elem,_Traits,_Alloc> std::operator +(const _Elem *,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const _Elem *' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\string(31) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::basic_string<_Elem,_Traits,_Alloc> std::operator +(const std::basic_string<_Elem,_Traits,_Alloc> &,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'const std::basic_string<_Elem,_Traits,_Alloc> &' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\string(21) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::_Vb_iterator<_MycontTy> std::operator +(_Vb_iterator<_MycontTy>::difference_type,std::_Vb_iterator<_MycontTy>)' : could not deduce template argument for 'std::_Vb_iterator<_MycontTy>' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\vector(1800) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::_Vb_const_iterator<_MycontTy> std::operator +(_Vb_const_iterator<_MycontTy>::difference_type,std::_Vb_const_iterator<_MycontTy>)' : could not deduce template argument for 'std::_Vb_const_iterator<_MycontTy>' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\vector(1695) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::_Vector_iterator<_Ty,_Alloc> std::operator +(_Vector_iterator<_Ty,_Alloc>::difference_type,std::_Vector_iterator<_Ty,_Alloc>)' : could not deduce template argument for 'std::_Vector_iterator<_Ty,_Alloc>' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\vector(396) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::_Vector_const_iterator<_Ty,_Alloc> std::operator +(_Vector_const_iterator<_Ty,_Alloc>::difference_type,std::_Vector_const_iterator<_Ty,_Alloc>)' : could not deduce template argument for 'std::_Vector_const_iterator<_Ty,_Alloc>' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\vector(264) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::_String_iterator<_Elem,_Traits,_Alloc> std::operator +(_String_iterator<_Elem,_Traits,_Alloc>::difference_type,std::_String_iterator<_Elem,_Traits,_Alloc>)' : could not deduce template argument for 'std::_String_iterator<_Elem,_Traits,_Alloc>' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\xstring(438) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::_String_const_iterator<_Elem,_Traits,_Alloc> std::operator +(_String_const_iterator<_Elem,_Traits,_Alloc>::difference_type,std::_String_const_iterator<_Elem,_Traits,_Alloc>)' : could not deduce template argument for 'std::_String_const_iterator<_Elem,_Traits,_Alloc>' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\xstring(298) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2784: 'std::reverse_iterator<_RanIt> std::operator +(_Diff,const std::reverse_iterator<_RanIt> &)' : could not deduce template argument for 'const std::reverse_iterator<_RanIt> &' from 'Lame'
d:\program files\microsoft visual studio 8\vc\include\xutility(1809) : see declaration of 'std::operator +'
d:\program files\microsoft visual studio 8\vc\include\numeric(23) : error C2676: binary '+' : 'Lame' does not define this operator or a conversion to a type acceptable to the predefined operator