Compile [2024-11-20 01:40:22 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".." -I"/mnt/fs1/teeks99-06/run/boost_root/libs/assert/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/container_hash/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/core/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/describe/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/mp11/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/throw_exception/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/type_index/include" -I"/mnt/fs1/teeks99-06/run/boost_root/libs/yap/include" -c -o "/mnt/fs1/teeks99-06/run/results/boost/bin.v2/libs/yap/test/reference_returns.test/gcc-11~c++20/debug/arm_64/debug-symbols-off/threading-multi/visibility-hidden/reference_returns.o" "../libs/yap/test/reference_returns.cpp"
../libs/yap/test/reference_returns.cpp: In function ???int main()???:
../libs/yap/test/reference_returns.cpp:36:57: error: conversion from ???<brace-enclosed initializer list>??? to ???term<reference_returning::number>??? {aka ???boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<reference_returning::number> >???} is ambiguous
36 | term<reference_returning::number> unity = {{1.0}};
| ^
In file included from ../libs/yap/test/reference_returns.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 = reference_returning::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 = reference_returning::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 = reference_returning::number]???
136 | constexpr expression(T && t) : elements(static_cast<T &&>(t)) {}
| ^~~~~~~~~~
In file included from ../boost/yap/algorithm.hpp:11,
from ../boost/yap/expression.hpp:9,
from ../libs/yap/test/reference_returns.cpp:6:
../boost/yap/detail/algorithm.hpp: In instantiation of ???constexpr auto boost::yap::detail::make_operand<T>::operator()(U&&) [with U = reference_returning::number; T = boost::yap::expression<boost::yap::expr_kind::terminal, boost::hana::tuple<reference_returning::number> >]???:
../boost/yap/expression.hpp:192:5: required from ???constexpr auto boost::yap::operator+(boost::yap::expression<Kind, Tuple>&, Expr&&) [with boost::yap::expr_kind Kind = boost::yap::expr_kind::terminal; Tuple = boost::hana::tuple<reference_returning::number>; Expr = reference_returning::number]???
../libs/yap/test/reference_returns.cpp:37:65: 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<reference_returning::number> >??? when C++17 is enabled changed to match C++14 in GCC 10.1
231 | return T{static_cast<U &&>(u)};
| ^