Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>------ Build started: Project: Collateral Universe DLL, Configuration: Debug Win32 ------
- 1> guiModernTextListCtrl.cpp
- 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(2134): error C2668: 'swap' : ambiguous call to overloaded function
- 1> c:\projects\collateral\engine\source\core\talgorithm.h(21): could be 'void swap<GuiModernTextListCtrl::tSortRule>(T &,T &)' [found using argument-dependent lookup]
- 1> with
- 1> [
- 1> T=GuiModernTextListCtrl::tSortRule
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\utility(100): or 'void std::swap<GuiModernTextListCtrl::tSortRule>(_Ty &,_Ty &)'
- 1> with
- 1> [
- 1> _Ty=GuiModernTextListCtrl::tSortRule
- 1> ]
- 1> while trying to match the argument list '(GuiModernTextListCtrl::tSortRule, GuiModernTextListCtrl::tSortRule)'
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(3275) : see reference to function template instantiation 'void std::iter_swap<_RanIt,_RanIt>(_FwdIt1,_FwdIt2)' being compiled
- 1> with
- 1> [
- 1> _RanIt=GuiModernTextListCtrl::tSortRule *,
- 1> _FwdIt1=GuiModernTextListCtrl::tSortRule *,
- 1> _FwdIt2=GuiModernTextListCtrl::tSortRule *
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(3289) : see reference to function template instantiation 'void std::_Rotate<_RanIt,std::iterator_traits<_Iter>::difference_type,GuiModernTextListCtrl::tSortRule>(_RanIt,_RanIt,_RanIt,_Diff *,_Ty *)' being compiled
- 1> with
- 1> [
- 1> _RanIt=GuiModernTextListCtrl::tSortRule *,
- 1> _Iter=GuiModernTextListCtrl::tSortRule *,
- 1> _Diff=std::iterator_traits<GuiModernTextListCtrl::tSortRule *>::difference_type,
- 1> _Ty=GuiModernTextListCtrl::tSortRule
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(3300) : see reference to function template instantiation 'void std::_Rotate<GuiModernTextListCtrl::tSortRule*>(_RanIt,_RanIt,_RanIt,std::random_access_iterator_tag)' being compiled
- 1> with
- 1> [
- 1> _RanIt=GuiModernTextListCtrl::tSortRule *
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(689) : see reference to function template instantiation '_FwdIt std::rotate<std::_Vector_iterator<_Myvec>>(_FwdIt,_FwdIt,_FwdIt)' being compiled
- 1> with
- 1> [
- 1> _FwdIt=std::_Vector_iterator<std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>>,
- 1> _Myvec=std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(675) : see reference to function template instantiation 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::emplace<GuiModernTextListCtrl::tSortRule&>(std::_Vector_const_iterator<_Myvec>,_Valty)' being compiled
- 1> with
- 1> [
- 1> _Myvec=std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>,
- 1> _Ty=GuiModernTextListCtrl::tSortRule,
- 1> _Valty=GuiModernTextListCtrl::tSortRule &
- 1> ]
- 1> c:\projects\collateral\engine\source\gui\controls\guimoderntextlistctrl.cpp(2456) : see reference to function template instantiation 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::insert<GuiModernTextListCtrl::tSortRule&>(std::_Vector_const_iterator<_Myvec>,_Valty)' being compiled
- 1> with
- 1> [
- 1> _Myvec=std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>,
- 1> _Ty=GuiModernTextListCtrl::tSortRule,
- 1> _Valty=GuiModernTextListCtrl::tSortRule &
- 1> ]
- 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(2134): error C2668: 'swap' : ambiguous call to overloaded function
- 1> c:\projects\collateral\engine\source\core\talgorithm.h(21): could be 'void swap<GuiModernTextListCtrl::tColItem>(T &,T &)' [found using argument-dependent lookup]
- 1> with
- 1> [
- 1> T=GuiModernTextListCtrl::tColItem
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\utility(100): or 'void std::swap<GuiModernTextListCtrl::tColItem>(_Ty &,_Ty &)'
- 1> with
- 1> [
- 1> _Ty=GuiModernTextListCtrl::tColItem
- 1> ]
- 1> while trying to match the argument list '(GuiModernTextListCtrl::tColItem, GuiModernTextListCtrl::tColItem)'
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(3275) : see reference to function template instantiation 'void std::iter_swap<_RanIt,_RanIt>(_FwdIt1,_FwdIt2)' being compiled
- 1> with
- 1> [
- 1> _RanIt=GuiModernTextListCtrl::tColItem *,
- 1> _FwdIt1=GuiModernTextListCtrl::tColItem *,
- 1> _FwdIt2=GuiModernTextListCtrl::tColItem *
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(3289) : see reference to function template instantiation 'void std::_Rotate<_RanIt,std::iterator_traits<_Iter>::difference_type,GuiModernTextListCtrl::tColItem>(_RanIt,_RanIt,_RanIt,_Diff *,_Ty *)' being compiled
- 1> with
- 1> [
- 1> _RanIt=GuiModernTextListCtrl::tColItem *,
- 1> _Iter=GuiModernTextListCtrl::tColItem *,
- 1> _Diff=std::iterator_traits<GuiModernTextListCtrl::tColItem *>::difference_type,
- 1> _Ty=GuiModernTextListCtrl::tColItem
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(3300) : see reference to function template instantiation 'void std::_Rotate<GuiModernTextListCtrl::tColItem*>(_RanIt,_RanIt,_RanIt,std::random_access_iterator_tag)' being compiled
- 1> with
- 1> [
- 1> _RanIt=GuiModernTextListCtrl::tColItem *
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(689) : see reference to function template instantiation '_FwdIt std::rotate<std::_Vector_iterator<_Myvec>>(_FwdIt,_FwdIt,_FwdIt)' being compiled
- 1> with
- 1> [
- 1> _FwdIt=std::_Vector_iterator<std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>>,
- 1> _Myvec=std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>
- 1> ]
- 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector(675) : see reference to function template instantiation 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::emplace<GuiModernTextListCtrl::tColItem&>(std::_Vector_const_iterator<_Myvec>,_Valty)' being compiled
- 1> with
- 1> [
- 1> _Myvec=std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>,
- 1> _Ty=GuiModernTextListCtrl::tColItem,
- 1> _Valty=GuiModernTextListCtrl::tColItem &
- 1> ]
- 1> c:\projects\collateral\engine\source\gui\controls\guimoderntextlistctrl.cpp(2589) : see reference to function template instantiation 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::insert<GuiModernTextListCtrl::tColItem&>(std::_Vector_const_iterator<_Myvec>,_Valty)' being compiled
- 1> with
- 1> [
- 1> _Myvec=std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>,
- 1> _Ty=GuiModernTextListCtrl::tColItem,
- 1> _Valty=GuiModernTextListCtrl::tColItem &
- 1> ]
- ========== Build: 0 succeeded, 1 failed, 17 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement