Compile [2024-11-16 12:16:25 UTC]: fail
"g++-12" -fvisibility-inlines-hidden -std=c++17 -fPIC -m64 -pthread -O0 -fno-inline -Wall -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -I".." -I"../libs/hana/test/_include" -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/hana/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/tuple/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/hana/test/test~pair~tag_of.test/gcc-12~c++17/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/pair/tag_of.o" "../libs/hana/test/pair/tag_of.cpp"
In file included from ../libs/hana/test/pair/tag_of.cpp:5:
../boost/hana/core/tag_of.hpp: In instantiation of 'struct boost::hana::tag_of<std::integral_constant<long unsigned int, 0> >':
../libs/hana/test/pair/tag_of.cpp:27:75: required from here
../boost/hana/core/tag_of.hpp:24:12: error: ambiguous template instantiation for 'struct boost::hana::tag_of<std::integral_constant<long unsigned int, 0>, boost::hana::when<true> >'
24 | struct tag_of : tag_of<T, when<true>> { };
| ^~~~~~
../boost/hana/core/tag_of.hpp:33:12: note: candidates are: 'template<class T, bool condition> struct boost::hana::tag_of<T, boost::hana::when<condition> > [with T = std::integral_constant<long unsigned int, 0>; bool condition = true]'
33 | struct tag_of<T, when<condition>> {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../libs/hana/test/pair/tag_of.cpp:6:
../boost/hana/ext/std/integral_constant.hpp:68:12: note: 'template<class T> struct boost::hana::tag_of<T, boost::hana::when<(boost::hana::detail::is_std_integral_constant((T*)(0)) && (! boost::hana::detail::is_hana_integral_constant((T*)(0))))> > [with T = std::integral_constant<long unsigned int, 0>]'
68 | struct tag_of<T, when<
| ^~~~~~~~~~~~~~~
69 | detail::is_std_integral_constant((T*)0) &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | !detail::is_hana_integral_constant((T*)0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | >> {
| ~~
../boost/hana/core/tag_of.hpp:24:12: error: invalid use of incomplete type 'struct boost::hana::tag_of<std::integral_constant<long unsigned int, 0>, boost::hana::when<true> >'
24 | struct tag_of : tag_of<T, when<true>> { };
| ^~~~~~
../boost/hana/core/tag_of.hpp:24:12: note: declaration of 'struct boost::hana::tag_of<std::integral_constant<long unsigned int, 0>, boost::hana::when<true> >'
../libs/hana/test/pair/tag_of.cpp: In function 'int main()':
../libs/hana/test/pair/tag_of.cpp:27:77: error: 'type' in 'struct boost::hana::tag_of<std::integral_constant<long unsigned int, 0> >' does not name a type
27 | using Tag = hana::tag_of<std::integral_constant<unsigned long, 0>>::type;
| ^~~~
../libs/hana/test/pair/tag_of.cpp:34:77: error: 'type' in 'struct boost::hana::tag_of<std::integral_constant<long unsigned int, 0> >' does not name a type
34 | using Tag = hana::tag_of<std::integral_constant<unsigned long, 0>>::type;
| ^~~~