Test output: teeks99-dkr-mc18-2b - phoenix - if_tests / clang-linux-18~c++2b
Rev 2b7c83edd2af574bf4a892389c61cee817fcb8c5 / Wed, 13 Nov 2024 01:56:48 +0000
Compile [2024-11-13 04:42:13 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".."  -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.