Test output: teeks99-dkr-mc18-2b - phoenix - switch_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/switch_tests.test/clang-linux-18~c++2b/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/statement/switch_tests.o" "../libs/phoenix/test/statement/switch_tests.cpp"

../libs/phoenix/test/statement/switch_tests.cpp:54:9: error: no viable overloaded operator[] for type 'const switch_gen<actor<basic_expr<terminal, term<argument<1>>, 0>>>'
   53 |         switch_(_1)
      |         ~~~~~~~~~~~
   54 |         [
      |         ^
   55 |             case_<1>(cout << val("<1>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |             case_<2>(cout << val("<2>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   57 |             case_<3>(cout << val("<3>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   58 |             case_<4>(cout << val("<4>") << endl)
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/phoenix/statement/switch.hpp:248:9: note: candidate function template not viable: requires single argument 'cases', but 4 arguments were provided
  248 |         operator[](Cases const& cases) const
      |         ^          ~~~~~~~~~~~~~~~~~~
../libs/phoenix/test/statement/switch_tests.cpp:66:9: error: no viable overloaded operator[] for type 'const switch_gen<actor<basic_expr<terminal, term<argument<1>>, 0>>>'
   65 |         switch_(_1)
      |         ~~~~~~~~~~~
   66 |         [
      |         ^
   67 |             case_<1>(cout << val("<1>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |             case_<2>(cout << val("<2>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |             case_<3>(cout << val("<3>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |             case_<4>(cout << val("<4>") << endl),
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   71 |             default_(cout << val("<over 4>") << endl)
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/phoenix/statement/switch.hpp:248:9: note: candidate function template not viable: requires single argument 'cases', but 5 arguments were provided
  248 |         operator[](Cases const& cases) const
      |         ^          ~~~~~~~~~~~~~~~~~~
2 errors generated.