Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2013
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.19 KB | None | 0 0
  1. 1>ClCompile:
  2. C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc110.pdb" /Gd /TP /analyze- /errorReport:prompt main.cpp
  3. main.cpp
  4. 1>c:\program files (x86)\microsoft visual studio 11.0\vc\include\utility(26): error C2668: 'Foo::swap' : ambiguous call to overloaded function
  5. c:\development\learning\cplusplus\doubledispatchandvisitor\doubledispatchandvisitor\main.cpp(13): could be 'void Foo::swap<Foo::MyType>(T &,T &)' [found using argument-dependent lookup]
  6. with
  7. [
  8. T=Foo::MyType
  9. ]
  10. c:\development\learning\cplusplus\doubledispatchandvisitor\doubledispatchandvisitor\main.cpp(48): or 'void std::swap<Foo::MyType>(Foo::MyType &,Foo::MyType &)'
  11. while trying to match the argument list '(Foo::MyType, Foo::MyType)'
  12. c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3414) : see reference to function template instantiation 'void std::iter_swap<_RanIt,_RanIt>(_FwdIt1,_FwdIt2)' being compiled
  13. with
  14. [
  15. _RanIt=Foo::MyType *,
  16. _FwdIt1=Foo::MyType *,
  17. _FwdIt2=Foo::MyType *
  18. ]
  19. c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3428) : see reference to function template instantiation 'void std::_Rotate<_RanIt,std::iterator_traits<_Iter>::difference_type,Foo::MyType>(_RanIt,_RanIt,_RanIt,_Diff *,_Ty *)' being compiled
  20. with
  21. [
  22. _RanIt=Foo::MyType *,
  23. _Iter=Foo::MyType *,
  24. _Diff=std::iterator_traits<Foo::MyType *>::difference_type,
  25. _Ty=Foo::MyType
  26. ]
  27. c:\program files (x86)\microsoft visual studio 11.0\vc\include\xutility(3438) : see reference to function template instantiation 'void std::_Rotate<_Iter>(_RanIt,_RanIt,_RanIt,std::random_access_iterator_tag)' being compiled
  28. with
  29. [
  30. _Iter=Foo::MyType *,
  31. _RanIt=Foo::MyType *
  32. ]
  33. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(1348) : see reference to function template instantiation '_FwdIt std::rotate<Foo::MyType*>(_FwdIt,_FwdIt,_FwdIt)' being compiled
  34. with
  35. [
  36. _FwdIt=Foo::MyType *
  37. ]
  38. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(1261) : see reference to function template instantiation 'void std::vector<_Ty>::_Insert<_Iter>(std::_Vector_const_iterator<_Myvec>,_Iter,_Iter,std::forward_iterator_tag)' being compiled
  39. with
  40. [
  41. _Ty=Foo::MyType,
  42. _Iter=std::move_iterator<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>>,
  43. _Myvec=std::_Vector_val<std::_Simple_types<Foo::MyType>>
  44. ]
  45. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(1261) : see reference to function template instantiation 'void std::vector<_Ty>::_Insert<_Iter>(std::_Vector_const_iterator<_Myvec>,_Iter,_Iter,std::forward_iterator_tag)' being compiled
  46. with
  47. [
  48. _Ty=Foo::MyType,
  49. _Iter=std::move_iterator<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>>,
  50. _Myvec=std::_Vector_val<std::_Simple_types<Foo::MyType>>
  51. ]
  52. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(1236) : see reference to function template instantiation 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::insert<_Iter>(std::_Vector_const_iterator<_Myvec>,_Iter,_Iter)' being compiled
  53. with
  54. [
  55. _Myvec=std::_Vector_val<std::_Simple_types<Foo::MyType>>,
  56. _Ty=Foo::MyType,
  57. _Iter=std::move_iterator<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>>
  58. ]
  59. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(1236) : see reference to function template instantiation 'std::_Vector_iterator<_Myvec> std::vector<_Ty>::insert<_Iter>(std::_Vector_const_iterator<_Myvec>,_Iter,_Iter)' being compiled
  60. with
  61. [
  62. _Myvec=std::_Vector_val<std::_Simple_types<Foo::MyType>>,
  63. _Ty=Foo::MyType,
  64. _Iter=std::move_iterator<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>>
  65. ]
  66. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(816) : see reference to function template instantiation 'void std::vector<_Ty>::assign<std::move_iterator<_RanIt>>(_Iter,_Iter)' being compiled
  67. with
  68. [
  69. _Ty=Foo::MyType,
  70. _RanIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>,
  71. _Iter=std::move_iterator<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>>
  72. ]
  73. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(816) : see reference to function template instantiation 'void std::vector<_Ty>::assign<std::move_iterator<_RanIt>>(_Iter,_Iter)' being compiled
  74. with
  75. [
  76. _Ty=Foo::MyType,
  77. _RanIt=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>,
  78. _Iter=std::move_iterator<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<Foo::MyType>>>>
  79. ]
  80. c:\program files (x86)\microsoft visual studio 11.0\vc\include\vector(803) : while compiling class template member function 'std::vector<_Ty> &std::vector<_Ty>::operator =(std::vector<_Ty> &&)'
  81. with
  82. [
  83. _Ty=Foo::MyType
  84. ]
  85. c:\development\learning\cplusplus\doubledispatchandvisitor\doubledispatchandvisitor\main.cpp(65) : see reference to function template instantiation 'std::vector<_Ty> &std::vector<_Ty>::operator =(std::vector<_Ty> &&)' being compiled
  86. with
  87. [
  88. _Ty=Foo::MyType
  89. ]
  90. c:\development\learning\cplusplus\doubledispatchandvisitor\doubledispatchandvisitor\main.cpp(26) : see reference to class template instantiation 'std::vector<_Ty>' being compiled
  91. with
  92. [
  93. _Ty=Foo::MyType
  94. ]
  95. 1>Done Building Project "C:\Development\learning\cPlusPlus\doubleDispatchAndVisitor\doubleDispatchAndVisitor\doubleDispatchAndVisitor.vcxproj" (Rebuild target(s)) -- FAILED.
  96.  
  97. Build FAILED.
  98.  
  99. Time Elapsed 00:00:02.07
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement