Compile [2024-11-21 00:06:20 UTC]: fail
"g++-11" -fvisibility-inlines-hidden -std=c++20 -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -I".." -c -o "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/yap/test/call_expr.test/gcc-11~c++20/debug/arm_64/debug-symbols-off/threading-multi/visibility-hidden/call_expr.o" "../libs/yap/test/call_expr.cpp"
In file included from ../boost/yap/algorithm.hpp:11,
from ../boost/yap/expression.hpp:9,
from ../libs/yap/test/call_expr.cpp:6:
../boost/yap/detail/algorithm.hpp: In instantiation of ???constexpr auto boost::yap::detail::make_operand<T>::operator()(U&&) [with U = user::number; T = boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<user::number> >]???:
../boost/yap/expression.hpp:171:9: required from ???constexpr auto boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::operator()(U&& ...) & [with U = {user::number, int}; T = user::tag_type]???
../libs/yap/test/call_expr.cpp:140:29: required from here
../boost/yap/detail/algorithm.hpp:231:42: note: parameter passing for argument of type ???boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<user::number> >??? when C++17 is enabled changed to match C++14 in GCC 10.1
231 | return T{static_cast<U &&>(u)};
| ^
../libs/yap/test/call_expr.cpp: In function ???int main()???:
../libs/yap/test/call_expr.cpp:184:39: error: call of overloaded ???expression(<brace-enclosed initializer list>)??? is ambiguous
184 | term<user::number> a{{1.0}};
| ^
In file included from ../libs/yap/test/call_expr.cpp:6:
../boost/yap/expression.hpp:142:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(boost::hana::tuple<T>&&) [with T = user::number]???
142 | constexpr expression(hana::tuple<T> && rhs) : elements(std::move(rhs))
| ^~~~~~~~~~
../boost/yap/expression.hpp:139:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(const boost::hana::tuple<T>&) [with T = user::number]???
139 | constexpr expression(hana::tuple<T> const & rhs) : elements(rhs) {}
| ^~~~~~~~~~
../boost/yap/expression.hpp:136:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(T&&) [with T = user::number]???
136 | constexpr expression(T && t) : elements(static_cast<T &&>(t)) {}
| ^~~~~~~~~~
../libs/yap/test/call_expr.cpp:185:40: error: call of overloaded ???expression(<brace-enclosed initializer list>)??? is ambiguous
185 | term<user::number> x{{42.0}};
| ^
In file included from ../libs/yap/test/call_expr.cpp:6:
../boost/yap/expression.hpp:142:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(boost::hana::tuple<T>&&) [with T = user::number]???
142 | constexpr expression(hana::tuple<T> && rhs) : elements(std::move(rhs))
| ^~~~~~~~~~
../boost/yap/expression.hpp:139:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(const boost::hana::tuple<T>&) [with T = user::number]???
139 | constexpr expression(hana::tuple<T> const & rhs) : elements(rhs) {}
| ^~~~~~~~~~
../boost/yap/expression.hpp:136:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(T&&) [with T = user::number]???
136 | constexpr expression(T && t) : elements(static_cast<T &&>(t)) {}
| ^~~~~~~~~~
../libs/yap/test/call_expr.cpp:186:39: error: call of overloaded ???expression(<brace-enclosed initializer list>)??? is ambiguous
186 | term<user::number> y{{3.0}};
| ^
In file included from ../libs/yap/test/call_expr.cpp:6:
../boost/yap/expression.hpp:142:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(boost::hana::tuple<T>&&) [with T = user::number]???
142 | constexpr expression(hana::tuple<T> && rhs) : elements(std::move(rhs))
| ^~~~~~~~~~
../boost/yap/expression.hpp:139:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(const boost::hana::tuple<T>&) [with T = user::number]???
139 | constexpr expression(hana::tuple<T> const & rhs) : elements(rhs) {}
| ^~~~~~~~~~
../boost/yap/expression.hpp:136:19: note: candidate: ???constexpr boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<T> >::expression(T&&) [with T = user::number]???
136 | constexpr expression(T && t) : elements(static_cast<T &&>(t)) {}
| ^~~~~~~~~~