Compile [2024-11-20 19:16:54 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_460.cpp" -c -Fo"C:\teeks99-09\run\results\boost\bin.v2\libs\hana\test\test~issues~github_460.test\msvc-14.2\dbg\x86_6\dbg-symbl-off\thrd-mlt\issues\github_460.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\include" "-I..\libs\hana\test\_include"
github_460.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<X,Y>(const Xs &,const Ys &)' being compiled
with
[
T=T,
U=U,
X=boost::hana::tuple<int>,
Y=boost::hana::tuple<int>,
Xs=boost::hana::tuple<int>,
Ys=boost::hana::tuple<int>
]
..\libs\hana\test\issues\github_460.cpp(16): note: see reference to function template instantiation 'auto boost::hana::equal_t::operator ()<boost::hana::tuple<int>,boost::hana::tuple<int>>(X &&,Y &&) const' being compiled
with
[
X=boost::hana::tuple<int>,
Y=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_460.cpp(16): error C2440: 'return': cannot convert from 'void' to 'bool'
..\libs\hana\test\issues\github_460.cpp(16): note: Expressions of type void cannot be converted to other types
..\libs\hana\test\issues\github_460.cpp(15): error C3615: constexpr function 'SomeStruct::operator ==' cannot result in a constant expression
..\libs\hana\test\issues\github_460.cpp(17): note: failure was caused by control reaching the end of a constexpr function
..\boost/hana/not_equal.hpp(40): error C2672: 'operator __surrogate_func': no matching overloaded function found
..\boost/hana/not_equal.hpp(32): note: see reference to function template instantiation 'decltype(auto) boost::hana::not_equal_impl<T,U,boost::hana::when<true>>::apply<X,Y>(X &&,Y &&)' being compiled
with
[
T=T,
U=U,
X=boost::hana::tuple<int>,
Y=boost::hana::tuple<int>
]
..\libs\hana\test\issues\github_460.cpp(20): note: see reference to function template instantiation 'auto boost::hana::not_equal_t::operator ()<boost::hana::tuple<int>,boost::hana::tuple<int>>(X &&,Y &&) const' being compiled
with
[
X=boost::hana::tuple<int>,
Y=boost::hana::tuple<int>
]
..\boost/hana/not_equal.hpp(41): error C2893: Failed to specialize function template 'decltype(auto) boost::hana::not_t::operator ()(X &&) const'
..\boost/hana/fwd/not.hpp(40): note: see declaration of 'boost::hana::not_t::operator ()'
..\boost/hana/not_equal.hpp(41): note: With the following template arguments:
..\boost/hana/not_equal.hpp(41): note: 'X=void'
..\libs\hana\test\issues\github_460.cpp(20): error C2440: 'return': cannot convert from 'void' to 'bool'
..\libs\hana\test\issues\github_460.cpp(20): note: Expressions of type void cannot be converted to other types
..\libs\hana\test\issues\github_460.cpp(19): error C3615: constexpr function 'SomeStruct::operator !=' cannot result in a constant expression
..\libs\hana\test\issues\github_460.cpp(21): note: failure was caused by control reaching the end of a constexpr function
..\libs\hana\test\issues\github_460.cpp(25): error C2131: expression did not evaluate to a constant
..\libs\hana\test\issues\github_460.cpp(25): note: function violates 'constexpr' rules or has errors
..\libs\hana\test\issues\github_460.cpp(25): note: see usage of 'SomeStruct::operator =='
..\libs\hana\test\issues\github_460.cpp(26): error C2131: expression did not evaluate to a constant
..\boost/hana/equal.hpp(97): note: function violates 'constexpr' rules or has errors
..\boost/hana/equal.hpp(97): note: see usage of 'SomeStruct::operator =='