| 1 | 1>------ Build started: Project: variant-test, Configuration: Release x64 ------
|
|---|
| 2 | 1>Compiling...
|
|---|
| 3 | 1>variant-test.cpp
|
|---|
| 4 | 1>c:\Users\dh\products\avir\include\boost/variant/detail/move.hpp(155) : error C2668: 'boost::detail::variant::detail::move_swap::swap' : ambiguous call to overloaded function
|
|---|
| 5 | 1> c:\Users\dh\products\avir\include\boost/variant/detail/move.hpp(141): could be 'void boost::detail::variant::detail::move_swap::swap<T>(T &,T &)'
|
|---|
| 6 | 1> with
|
|---|
| 7 | 1> [
|
|---|
| 8 | 1> T=T2
|
|---|
| 9 | 1> ]
|
|---|
| 10 | 1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\utility(16): or 'void std::swap<T>(_Ty &,_Ty &)' [found using argument-dependent lookup]
|
|---|
| 11 | 1> with
|
|---|
| 12 | 1> [
|
|---|
| 13 | 1> T=T2,
|
|---|
| 14 | 1> _Ty=T2
|
|---|
| 15 | 1> ]
|
|---|
| 16 | 1> while trying to match the argument list '(T2 , T2 )'
|
|---|
| 17 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(684) : see reference to function template instantiation 'void boost::detail::variant::move_swap<T>(T &,T &)' being compiled
|
|---|
| 18 | 1> with
|
|---|
| 19 | 1> [
|
|---|
| 20 | 1> T=T2
|
|---|
| 21 | 1> ]
|
|---|
| 22 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(806) : see reference to function template instantiation 'void boost::detail::variant::swap_with<Variant>::operator ()<T>(T &) const' being compiled
|
|---|
| 23 | 1> with
|
|---|
| 24 | 1> [
|
|---|
| 25 | 1> Variant=boost::variant<boost::blank,int,std::vector<int> *>,
|
|---|
| 26 | 1> T=T2
|
|---|
| 27 | 1> ]
|
|---|
| 28 | 1> c:\Users\dh\products\avir\include\boost/variant/detail/visitation_impl.hpp(126) : see reference to function template instantiation 'void boost::detail::variant::invoke_visitor<Visitor>::internal_visit<T>(T &,int)' being compiled
|
|---|
| 29 | 1> with
|
|---|
| 30 | 1> [
|
|---|
| 31 | 1> Visitor=boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>,
|
|---|
| 32 | 1> T=T2
|
|---|
| 33 | 1> ]
|
|---|
| 34 | 1> c:\Users\dh\products\avir\include\boost/variant/detail/visitation_impl.hpp(169) : see reference to function template instantiation 'void boost::detail::variant::visitation_impl_invoke_impl<Visitor,VoidPtrCV,T>(int,Visitor &,VoidPtrCV,T *,boost::mpl::true_)' being compiled
|
|---|
| 35 | 1> with
|
|---|
| 36 | 1> [
|
|---|
| 37 | 1> Visitor=boost::detail::variant::invoke_visitor<boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>>,
|
|---|
| 38 | 1> VoidPtrCV=void *,
|
|---|
| 39 | 1> T=T2
|
|---|
| 40 | 1> ]
|
|---|
| 41 | 1> c:\Users\dh\products\avir\include\boost/variant/detail/visitation_impl.hpp(252) : see reference to function template instantiation 'void boost::detail::variant::visitation_impl_invoke<Visitor,VoidPtrCV,T2,NoBackupFlag>(int,Visitor &,VoidPtrCV,T *,NoBackupFlag,int)' being compiled
|
|---|
| 42 | 1> with
|
|---|
| 43 | 1> [
|
|---|
| 44 | 1> Visitor=boost::detail::variant::invoke_visitor<boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>>,
|
|---|
| 45 | 1> VoidPtrCV=void *,
|
|---|
| 46 | 1> NoBackupFlag=boost::variant<boost::blank,int,std::vector<int> *>::has_fallback_type_,
|
|---|
| 47 | 1> T=T2
|
|---|
| 48 | 1> ]
|
|---|
| 49 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(1738) : see reference to function template instantiation 'void boost::detail::variant::visitation_impl<first_which,first_step,Visitor,VoidPtrCV,boost::variant<T0_,T1,T2>::has_fallback_type_>(const int,const int,Visitor &,VoidPtrCV,boost::mpl::false_,NoBackupFlag,Which *,step0 *)' being compiled
|
|---|
| 50 | 1> with
|
|---|
| 51 | 1> [
|
|---|
| 52 | 1> Visitor=boost::detail::variant::invoke_visitor<boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>>,
|
|---|
| 53 | 1> VoidPtrCV=void *,
|
|---|
| 54 | 1> T0_=boost::blank,
|
|---|
| 55 | 1> T1=int,
|
|---|
| 56 | 1> T2=std::vector<int> *,
|
|---|
| 57 | 1> NoBackupFlag=boost::variant<boost::blank,int,std::vector<int> *>::has_fallback_type_,
|
|---|
| 58 | 1> Which=first_which,
|
|---|
| 59 | 1> step0=first_step
|
|---|
| 60 | 1> ]
|
|---|
| 61 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(1749) : see reference to function template instantiation 'void boost::variant<T0_,T1,T2>::internal_apply_visitor_impl<Visitor,void*>(int,int,Visitor &,VoidPtrCV)' being compiled
|
|---|
| 62 | 1> with
|
|---|
| 63 | 1> [
|
|---|
| 64 | 1> T0_=boost::blank,
|
|---|
| 65 | 1> T1=int,
|
|---|
| 66 | 1> T2=std::vector<int> *,
|
|---|
| 67 | 1> Visitor=boost::detail::variant::invoke_visitor<boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>>,
|
|---|
| 68 | 1> VoidPtrCV=void *
|
|---|
| 69 | 1> ]
|
|---|
| 70 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(1772) : see reference to function template instantiation 'void boost::variant<T0_,T1,T2>::internal_apply_visitor<boost::detail::variant::invoke_visitor<Visitor>>(boost::detail::variant::invoke_visitor<Visitor> &)' being compiled
|
|---|
| 71 | 1> with
|
|---|
| 72 | 1> [
|
|---|
| 73 | 1> T0_=boost::blank,
|
|---|
| 74 | 1> T1=int,
|
|---|
| 75 | 1> T2=std::vector<int> *,
|
|---|
| 76 | 1> Visitor=boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>
|
|---|
| 77 | 1> ]
|
|---|
| 78 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(1608) : see reference to function template instantiation 'void boost::variant<T0_,T1,T2>::apply_visitor<boost::detail::variant::swap_with<Variant>>(Visitor &)' being compiled
|
|---|
| 79 | 1> with
|
|---|
| 80 | 1> [
|
|---|
| 81 | 1> T0_=boost::blank,
|
|---|
| 82 | 1> T1=int,
|
|---|
| 83 | 1> T2=std::vector<int> *,
|
|---|
| 84 | 1> Variant=boost::variant<boost::blank,int,std::vector<int> *>,
|
|---|
| 85 | 1> Visitor=boost::detail::variant::swap_with<boost::variant<boost::blank,int,std::vector<int> *>>
|
|---|
| 86 | 1> ]
|
|---|
| 87 | 1> c:\Users\dh\products\avir\include\boost/variant/variant.hpp(1602) : while compiling class template member function 'void boost::variant<T0_,T1,T2>::swap(boost::variant<T0_,T1,T2> &)'
|
|---|
| 88 | 1> with
|
|---|
| 89 | 1> [
|
|---|
| 90 | 1> T0_=boost::blank,
|
|---|
| 91 | 1> T1=int,
|
|---|
| 92 | 1> T2=std::vector<int> *
|
|---|
| 93 | 1> ]
|
|---|
| 94 | 1> ..\variant-test.cpp(9) : see reference to class template instantiation 'boost::variant<T0_,T1,T2>' being compiled
|
|---|
| 95 | 1> with
|
|---|
| 96 | 1> [
|
|---|
| 97 | 1> T0_=boost::blank,
|
|---|
| 98 | 1> T1=int,
|
|---|
| 99 | 1> T2=std::vector<int> *
|
|---|
| 100 | 1> ]
|
|---|
| 101 | 1>Build log was saved at "file://c:\Users\dh\variant-test\x64\Release\BuildLog.htm"
|
|---|
| 102 | 1>variant-test - 1 error(s), 0 warning(s)
|
|---|
| 103 | ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|---|