Test output: teeks99-dkr-dc18-2b - phoenix - if_tests / clang-linux-18~c++2b
Rev 00765c42443d26fa0dd8ab340fb5b5739c450fbb / Tue, 12 Nov 2024 22:56:16 +0000
Compile [2024-11-13 01:41:35 UTC]: fail


    "clang++-18"   -fvisibility-inlines-hidden -Wno-c99-extensions -std=c++2b -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/bind/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/function/include" -I"/var/boost/run/boost_root/libs/function_types/include" -I"/var/boost/run/boost_root/libs/fusion/include" -I"/var/boost/run/boost_root/libs/mp11/include" -I"/var/boost/run/boost_root/libs/phoenix/include" -I"/var/boost/run/boost_root/libs/predef/include" -I"/var/boost/run/boost_root/libs/smart_ptr/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/tuple/include" -I"/var/boost/run/boost_root/libs/type_traits/include"  -c -o "/var/boost/run/results/boost/bin.v2/libs/phoenix/test/if_tests.test/clang-linux-18~c++2b/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/statement/if_tests.o" "../libs/phoenix/test/statement/if_tests.cpp"

../libs/phoenix/test/statement/if_tests.cpp:30:9: error: no viable overloaded operator[] for type 'const if_gen<actor<basic_expr<logical_and, list2<actor<basic_expr<greater, list2<actor<basic_expr<terminal, term<argument<1>>, 0>>, actor<basic_expr<terminal, term<int>, 0>>>, 2>>, actor<basic_expr<less_equal, list2<actor<basic_expr<terminal, term<argument<1>>, 0>>, actor<basic_expr<terminal, term<int>, 0>>>, 2>>>, 2>>>'
   29 |         if_(arg1 > 3 && arg1 <= 8)
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~
   30 |         [
      |         ^
   31 |             std::cout << arg1 << ", ",
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |             ref(x) += arg1
      |             ~~~~~~~~~~~~~~
../boost/phoenix/statement/if.hpp:143:9: note: candidate function template not viable: requires single argument 'then', but 2 arguments were provided
  143 |         operator[](Then const & then) const
      |         ^          ~~~~~~~~~~~~~~~~~
../libs/phoenix/test/statement/if_tests.cpp:45:9: error: no viable overloaded operator[] for type 'const if_gen<actor<basic_expr<greater, list2<actor<basic_expr<terminal, term<argument<1>>, 0>>, actor<basic_expr<terminal, term<int>, 0>>>, 2>>>'
   44 |         if_(arg1 > 5)
      |         ~~~~~~~~~~~~~
   45 |         [
      |         ^
   46 |             std::cout << arg1 << " > 5\n",
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   47 |             ref(x) += arg1
      |             ~~~~~~~~~~~~~~
../boost/phoenix/statement/if.hpp:143:9: note: candidate function template not viable: requires single argument 'then', but 2 arguments were provided
  143 |         operator[](Then const & then) const
      |         ^          ~~~~~~~~~~~~~~~~~
../libs/phoenix/test/statement/if_tests.cpp:52:13: error: no viable overloaded operator[] for type 'const if_gen<actor<basic_expr<equal_to, list2<actor<basic_expr<terminal, term<argument<1>>, 0>>, actor<basic_expr<terminal, term<int>, 0>>>, 2>>>'
   51 |             if_(arg1 == 5)
      |             ~~~~~~~~~~~~~~
   52 |             [
      |             ^
   53 |                 std::cout << arg1 << " == 5\n",
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   54 |                 ref(z) += arg1
      |                 ~~~~~~~~~~~~~~
../boost/phoenix/statement/if.hpp:143:9: note: candidate function template not viable: requires single argument 'then', but 2 arguments were provided
  143 |         operator[](Then const & then) const
      |         ^          ~~~~~~~~~~~~~~~~~
../libs/phoenix/test/statement/if_tests.cpp:62:5: error: expected ']'
   62 |     );
      |     ^
../libs/phoenix/test/statement/if_tests.cpp:50:9: note: to match this '['
   50 |         [
      |         ^
4 errors generated.