Compile [2024-11-19 02:15:03 UTC]: fail
call "C:\teeks99-09\run\results\boost\bin.v2\standalone\msvc\msvc-14.3\msvc-setup.bat" >nul
cl /Zm800 -nologo "..\libs\variant\test\overload_selection.cpp" -c -Fo"C:\teeks99-09\run\results\boost\bin.v2\libs\variant\test\overload_selection.test\msvc-14.3\dbg\x86_6\async-excpt-on\dbg-symbl-off\thrd-mlt\overload_selection.obj" -TP /wd4675 /EHa /GR /Zc:throwingNew /Od /Ob0 /W3 /MDd /Zc:forScope /Zc:wchar_t /Zc:inline /favor:blend /std:c++latest -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 "-I.." "-IC:\teeks99-09\run\boost_root\libs\assert\include" "-IC:\teeks99-09\run\boost_root\libs\container_hash\include" "-IC:\teeks99-09\run\boost_root\libs\core\include" "-IC:\teeks99-09\run\boost_root\libs\describe\include" "-IC:\teeks99-09\run\boost_root\libs\detail\include" "-IC:\teeks99-09\run\boost_root\libs\integer\include" "-IC:\teeks99-09\run\boost_root\libs\mp11\include" "-IC:\teeks99-09\run\boost_root\libs\throw_exception\include" "-IC:\teeks99-09\run\boost_root\libs\type_index\include" "-IC:\teeks99-09\run\boost_root\libs\type_traits\include" "-IC:\teeks99-09\run\boost_root\libs\variant\include"
overload_selection.cpp
..\boost/variant/variant.hpp(1615): error C2666: 'boost::variant<X>::convert_construct': overloaded functions have similar conversions
..\boost/variant/variant.hpp(1567): note: could be 'void boost::variant<X>::convert_construct<int,>(const boost::variant<int> &,long)'
..\boost/variant/variant.hpp(1555): note: or 'void boost::variant<X>::convert_construct<int,>(boost::variant<int> &,long)'
..\boost/variant/variant.hpp(1432): note: or 'void boost::variant<X>::convert_construct<T>(T &,int,boost::mpl::false_)'
with
[
T=X
]
..\boost/variant/variant.hpp(1615): note: while trying to match the argument list '(T, long)'
with
[
T=X
]
..\boost/variant/variant.hpp(1615): note: the template instantiation context (the oldest one first) is
..\libs\variant\test\overload_selection.cpp(102): note: see reference to function template instantiation 'boost::variant<X>::variant<X>(T &,bool)' being compiled
with
[
T=X
]
..\libs\variant\test\overload_selection.cpp(102): note: see the first reference to 'boost::variant<X>::variant' in 'test_derived_from_variant_construction'
..\boost/variant/variant.hpp(1615): error C2666: 'boost::variant<AB,C>::convert_construct': overloaded functions have similar conversions
..\boost/variant/variant.hpp(1567): note: could be 'void boost::variant<AB,C>::convert_construct<A,B>(const boost::variant<A,B> &,long)'
..\boost/variant/variant.hpp(1555): note: or 'void boost::variant<AB,C>::convert_construct<A,B>(boost::variant<A,B> &,long)'
..\boost/variant/variant.hpp(1432): note: or 'void boost::variant<AB,C>::convert_construct<T>(T &,int,boost::mpl::false_)'
with
[
T=AB
]
..\boost/variant/variant.hpp(1615): note: while trying to match the argument list '(T, long)'
with
[
T=AB
]
..\boost/variant/variant.hpp(1615): note: the template instantiation context (the oldest one first) is
..\libs\variant\test\overload_selection.cpp(111): note: see reference to function template instantiation 'boost::variant<AB,C>::variant<AB>(T &,bool)' being compiled
with
[
T=AB
]
..\libs\variant\test\overload_selection.cpp(111): note: see the first reference to 'boost::variant<AB,C>::variant' in 'test_derived_from_variant_construction'