Advertisement
Guest User

Untitled

a guest
Oct 6th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
4CS 7.78 KB | None | 0 0
  1. 1>------ Build started: Project: Collateral Universe DLL, Configuration: Debug Win32 ------
  2. 1>  guiModernTextListCtrl.cpp
  3. 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(2134): error C2668: 'swap' : ambiguous call to overloaded function
  4. 1>          c:\projects\collateral\engine\source\core\talgorithm.h(21): could be 'void swap<GuiModernTextListCtrl::tSortRule>(T &,T &)' [found using argument-dependent lookup]
  5. 1>          with
  6. 1>          [
  7. 1>              T=GuiModernTextListCtrl::tSortRule
  8. 1>          ]
  9. 1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\utility(100): or       'void std::swap<GuiModernTextListCtrl::tSortRule>(_Ty &,_Ty &)'
  10. 1>          with
  11. 1>          [
  12. 1>              _Ty=GuiModernTextListCtrl::tSortRule
  13. 1>          ]
  14. 1>          while trying to match the argument list '(GuiModernTextListCtrl::tSortRule, GuiModernTextListCtrl::tSortRule)'
  15. 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
  16. 1>          with
  17. 1>          [
  18. 1>              _RanIt=GuiModernTextListCtrl::tSortRule *,
  19. 1>              _FwdIt1=GuiModernTextListCtrl::tSortRule *,
  20. 1>              _FwdIt2=GuiModernTextListCtrl::tSortRule *
  21. 1>          ]
  22. 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
  23. 1>          with
  24. 1>          [
  25. 1>              _RanIt=GuiModernTextListCtrl::tSortRule *,
  26. 1>              _Iter=GuiModernTextListCtrl::tSortRule *,
  27. 1>              _Diff=std::iterator_traits<GuiModernTextListCtrl::tSortRule *>::difference_type,
  28. 1>              _Ty=GuiModernTextListCtrl::tSortRule
  29. 1>          ]
  30. 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
  31. 1>          with
  32. 1>          [
  33. 1>              _RanIt=GuiModernTextListCtrl::tSortRule *
  34. 1>          ]
  35. 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
  36. 1>          with
  37. 1>          [
  38. 1>              _FwdIt=std::_Vector_iterator<std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>>,
  39. 1>              _Myvec=std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>
  40. 1>          ]
  41. 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
  42. 1>          with
  43. 1>          [
  44. 1>              _Myvec=std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>,
  45. 1>              _Ty=GuiModernTextListCtrl::tSortRule,
  46. 1>              _Valty=GuiModernTextListCtrl::tSortRule &
  47. 1>          ]
  48. 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
  49. 1>          with
  50. 1>          [
  51. 1>              _Myvec=std::_Vector_val<GuiModernTextListCtrl::tSortRule,std::allocator<GuiModernTextListCtrl::tSortRule>>,
  52. 1>              _Ty=GuiModernTextListCtrl::tSortRule,
  53. 1>              _Valty=GuiModernTextListCtrl::tSortRule &
  54. 1>          ]
  55. 1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\xutility(2134): error C2668: 'swap' : ambiguous call to overloaded function
  56. 1>          c:\projects\collateral\engine\source\core\talgorithm.h(21): could be 'void swap<GuiModernTextListCtrl::tColItem>(T &,T &)' [found using argument-dependent lookup]
  57. 1>          with
  58. 1>          [
  59. 1>              T=GuiModernTextListCtrl::tColItem
  60. 1>          ]
  61. 1>          c:\program files (x86)\microsoft visual studio 10.0\vc\include\utility(100): or       'void std::swap<GuiModernTextListCtrl::tColItem>(_Ty &,_Ty &)'
  62. 1>          with
  63. 1>          [
  64. 1>              _Ty=GuiModernTextListCtrl::tColItem
  65. 1>          ]
  66. 1>          while trying to match the argument list '(GuiModernTextListCtrl::tColItem, GuiModernTextListCtrl::tColItem)'
  67. 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
  68. 1>          with
  69. 1>          [
  70. 1>              _RanIt=GuiModernTextListCtrl::tColItem *,
  71. 1>              _FwdIt1=GuiModernTextListCtrl::tColItem *,
  72. 1>              _FwdIt2=GuiModernTextListCtrl::tColItem *
  73. 1>          ]
  74. 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
  75. 1>          with
  76. 1>          [
  77. 1>              _RanIt=GuiModernTextListCtrl::tColItem *,
  78. 1>              _Iter=GuiModernTextListCtrl::tColItem *,
  79. 1>              _Diff=std::iterator_traits<GuiModernTextListCtrl::tColItem *>::difference_type,
  80. 1>              _Ty=GuiModernTextListCtrl::tColItem
  81. 1>          ]
  82. 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
  83. 1>          with
  84. 1>          [
  85. 1>              _RanIt=GuiModernTextListCtrl::tColItem *
  86. 1>          ]
  87. 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
  88. 1>          with
  89. 1>          [
  90. 1>              _FwdIt=std::_Vector_iterator<std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>>,
  91. 1>              _Myvec=std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>
  92. 1>          ]
  93. 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
  94. 1>          with
  95. 1>          [
  96. 1>              _Myvec=std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>,
  97. 1>              _Ty=GuiModernTextListCtrl::tColItem,
  98. 1>              _Valty=GuiModernTextListCtrl::tColItem &
  99. 1>          ]
  100. 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
  101. 1>          with
  102. 1>          [
  103. 1>              _Myvec=std::_Vector_val<GuiModernTextListCtrl::tColItem,std::allocator<GuiModernTextListCtrl::tColItem>>,
  104. 1>              _Ty=GuiModernTextListCtrl::tColItem,
  105. 1>              _Valty=GuiModernTextListCtrl::tColItem &
  106. 1>          ]
  107. ========== Build: 0 succeeded, 1 failed, 17 up-to-date, 0 skipped ==========
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement