Compile [2024-11-21 02:08:31 UTC]: fail
call "C:\teeks99-09\run\results\boost\bin.v2\standalone\msvc\msvc-14.2\msvc-setup.bat" >nul
cl /Zm800 -nologo "..\libs\hana\test\issues\github_470.cpp" -c -Fo"C:\teeks99-09\run\results\boost\bin.v2\libs\hana\test\test~issues~github_470.test\msvc-14.2\dbg\x86_6\dbg-symbl-off\thrd-mlt\issues\github_470.obj" -TP /wd4675 /EHs /GR /Zc:throwingNew /Od /Ob0 /W3 /MDd /Zc:forScope /Zc:wchar_t /Zc:inline /favor:blend -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 "-I.." "-I..\libs\hana\test\_include" "-IC:\teeks99-09\run\boost_root\libs\assert\include" "-IC:\teeks99-09\run\boost_root\libs\core\include" "-IC:\teeks99-09\run\boost_root\libs\hana\include" "-IC:\teeks99-09\run\boost_root\libs\throw_exception\include" "-IC:\teeks99-09\run\boost_root\libs\tuple\include"
github_470.cpp
..\boost/hana/eval_if.hpp(60): error C2446: ':': no conversion from 'const boost::hana::integral_constant<bool,false>' to 'const boost::hana::integral_constant<bool,true>'
..\boost/hana/eval_if.hpp(60): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
..\boost/hana/eval_if.hpp(42): note: see reference to function template instantiation 'auto boost::hana::eval_if_impl<L,boost::hana::when<true>>::apply<Cond,Then,Else>(const Cond &,T &&,E &&)' being compiled
with
[
L=bool,
Cond=bool,
Then=boost::hana::detail::hold<const boost::hana::integral_constant<bool,true> &>,
Else=boost::hana::detail::hold<const boost::hana::integral_constant<bool,false> &>,
T=boost::hana::detail::hold<const boost::hana::integral_constant<bool,true> &>,
E=boost::hana::detail::hold<const boost::hana::integral_constant<bool,false> &>
]
..\boost/hana/if.hpp(56): note: see reference to function template instantiation 'decltype(auto) boost::hana::eval_if_t::operator ()<C,boost::hana::detail::hold<T>,boost::hana::detail::hold<E>>(Cond &&,Then &&,Else &&) const' being compiled
with
[
C=bool,
T=const boost::hana::integral_constant<bool,true> &,
E=const boost::hana::integral_constant<bool,false> &,
Cond=bool,
Then=boost::hana::detail::hold<const boost::hana::integral_constant<bool,true> &>,
Else=boost::hana::detail::hold<const boost::hana::integral_constant<bool,false> &>
]
..\boost/hana/if.hpp(37): note: see reference to function template instantiation 'auto boost::hana::if_impl<L,boost::hana::when<true>>::apply<Cond,const boost::hana::integral_constant<bool,true>&,const boost::hana::integral_constant<bool,false>&>(C &&,T,E)' being compiled
with
[
L=Bool,
Cond=bool,
C=bool,
T=const boost::hana::integral_constant<bool,true> &,
E=const boost::hana::integral_constant<bool,false> &
]
..\boost/hana/equal.hpp(144): note: see reference to function template instantiation 'decltype(auto) boost::hana::if_t::operator ()<bool,const boost::hana::integral_constant<bool,true>&,const boost::hana::integral_constant<bool,false>&>(Cond &&,Then,Else) const' being compiled
with
[
Cond=bool,
Then=const boost::hana::integral_constant<bool,true> &,
Else=const boost::hana::integral_constant<bool,false> &
]
..\boost/hana/equal.hpp(175): note: see reference to function template instantiation 'auto boost::hana::detail::compare_finite_sequences<Xs,Ys,1>::apply<0>(boost::hana::false_,boost::hana::true_) const' being compiled
with
[
Xs=boost::hana::tuple<int>,
Ys=boost::hana::tuple<int>
]
..\boost/hana/equal.hpp(50): note: see reference to function template instantiation 'auto boost::hana::equal_impl<T,U,boost::hana::when<true>>::apply<boost::hana::tuple<int>,boost::hana::tuple<int>>(const Xs &,const Ys &)' being compiled
with
[
T=T,
U=U,
Xs=boost::hana::tuple<int>,
Ys=boost::hana::tuple<int>
]
..\boost/hana/detail/operators/comparable.hpp(37): note: see reference to function template instantiation 'auto boost::hana::equal_t::operator ()<const T&,const T&>(X,Y) const' being compiled
with
[
T=boost::hana::tuple<int>,
X=const boost::hana::tuple<int> &,
Y=const boost::hana::tuple<int> &
]
..\libs\hana\test\issues\github_470.cpp(19): note: see reference to function template instantiation 'auto boost::hana::detail::operators::operator ==<const T&,const T&,void>(X,Y)' being compiled
with
[
T=boost::hana::tuple<int>,
X=const boost::hana::tuple<int> &,
Y=const boost::hana::tuple<int> &
]
..\libs\hana\test\issues\github_470.cpp(38): note: see reference to function template instantiation 'bool `anonymous-namespace'::operator ==<boost::hana::tuple<int>>(const `anonymous-namespace'::optional<boost::hana::tuple<int>> &,const T &)' being compiled
with
[
T=boost::hana::tuple<int>
]
..\boost/hana/equal.hpp(141): error C2672: 'boost::hana::detail::compare_finite_sequences<Xs,Ys,1>::apply': no matching overloaded function found
with
[
Xs=boost::hana::tuple<int>,
Ys=boost::hana::tuple<int>
]
..\boost/hana/equal.hpp(142): error C2440: 'initializing': cannot convert from 'boost::hana::integral_constant<bool,true>' to 'boost::hana::false_'
..\boost/hana/equal.hpp(142): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
..\libs\hana\test\issues\github_470.cpp(19): error C2440: 'return': cannot convert from 'void' to 'bool'
..\libs\hana\test\issues\github_470.cpp(19): note: Expressions of type void cannot be converted to other types