Compile [2024-11-21 22:02:03 UTC]: fail
"clang++-17" -fvisibility-inlines-hidden -Wno-c99-extensions -std=c++20 -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -m64 --target=x86_64-pc-linux -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -I".." -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/container_hash/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/describe/include" -I"/var/boost/run/boost_root/libs/detail/include" -I"/var/boost/run/boost_root/libs/integer/include" -I"/var/boost/run/boost_root/libs/mp11/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/type_index/include" -I"/var/boost/run/boost_root/libs/variant/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/variant/test/overload_selection.test/clang-linux-17~c++20/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/overload_selection.o" "../libs/variant/test/overload_selection.cpp"
In file included from ../libs/variant/test/overload_selection.cpp:17:
../boost/variant/variant.hpp:1615:9: error: call to member function 'convert_construct' is ambiguous
1615 | convert_construct(operand, 1L);
| ^~~~~~~~~~~~~~~~~
../libs/variant/test/overload_selection.cpp:102:23: note: in instantiation of function template specialization 'boost::variant<X>::variant<X>' requested here
102 | boost::variant<X> y(x);
| ^
../boost/variant/variant.hpp:1432:10: note: candidate function [with T = X]
1432 | void convert_construct(
| ^
../boost/variant/variant.hpp:1555:15: note: candidate function [with U0 = int, UN = <>]
1555 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1567:15: note: candidate function [with U0 = int, UN = <>]
1567 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1630:9: error: call to member function 'convert_construct' is ambiguous
1630 | convert_construct( detail::variant::move(operand), 1L);
| ^~~~~~~~~~~~~~~~~
../libs/variant/test/overload_selection.cpp:106:42: note: in instantiation of function template specialization 'boost::variant<V1, std::basic_string<char>>::variant<V1>' requested here
106 | boost::variant<V1, std::string> v2 = V1();
| ^
../boost/variant/variant.hpp:1452:71: note: candidate function [with T = V1]
1452 | typename boost::enable_if<boost::is_rvalue_reference<T&&> >::type convert_construct(
| ^
../boost/variant/variant.hpp:1579:15: note: candidate function [with U0 = float, UN = <double>]
1579 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1567:15: note: candidate function [with U0 = float, UN = <double>]
1567 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1615:9: error: call to member function 'convert_construct' is ambiguous
1615 | convert_construct(operand, 1L);
| ^~~~~~~~~~~~~~~~~
../libs/variant/test/overload_selection.cpp:111:27: note: in instantiation of function template specialization 'boost::variant<AB, C>::variant<AB>' requested here
111 | boost::variant<AB, C> ab_c(ab);
| ^
../boost/variant/variant.hpp:1432:10: note: candidate function [with T = AB]
1432 | void convert_construct(
| ^
../boost/variant/variant.hpp:1555:15: note: candidate function [with U0 = A, UN = <B>]
1555 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1567:15: note: candidate function [with U0 = A, UN = <B>]
1567 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1599:9: error: call to member function 'convert_construct' is ambiguous
1599 | convert_construct(operand, 1L);
| ^~~~~~~~~~~~~~~~~
../boost/variant/variant.hpp:1976:21: note: in instantiation of function template specialization 'boost::variant<X>::variant<X>' requested here
1976 | variant temp(rhs);
| ^
../boost/variant/variant.hpp:2026:9: note: in instantiation of function template specialization 'boost::variant<X>::assign<X>' requested here
2026 | assign(rhs);
| ^
../libs/variant/test/overload_selection.cpp:130:7: note: in instantiation of function template specialization 'boost::variant<X>::operator=<X>' requested here
130 | y = x;
| ^
../boost/variant/variant.hpp:1432:10: note: candidate function [with T = const X]
1432 | void convert_construct(
| ^
../boost/variant/variant.hpp:1567:15: note: candidate function [with U0 = int, UN = <>]
1567 | > >::type convert_construct(
| ^
../boost/variant/variant.hpp:1599:9: error: call to member function 'convert_construct' is ambiguous
1599 | convert_construct(operand, 1L);
| ^~~~~~~~~~~~~~~~~
../boost/variant/variant.hpp:1976:21: note: in instantiation of function template specialization 'boost::variant<AB, C>::variant<AB>' requested here
1976 | variant temp(rhs);
| ^
../boost/variant/variant.hpp:2026:9: note: in instantiation of function template specialization 'boost::variant<AB, C>::assign<AB>' requested here
2026 | assign(rhs);
| ^
../libs/variant/test/overload_selection.cpp:141:10: note: in instantiation of function template specialization 'boost::variant<AB, C>::operator=<AB>' requested here
141 | ab_c = ab;
| ^
../boost/variant/variant.hpp:1432:10: note: candidate function [with T = const AB]
1432 | void convert_construct(
| ^
../boost/variant/variant.hpp:1567:15: note: candidate function [with U0 = A, UN = <B>]
1567 | > >::type convert_construct(
| ^
5 errors generated.