[Bug c++/120611] Name of lambda member exposed

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 --- Comment #2 from Andrew Pinski --- Clang exposes __invoke but it is private: :2:35: error: '__invoke' is a private member of '(lambda at :2:18)' 2 | return decltype([]{return 42;})::__invoke(); |

[Bug c++/120611] Name of lambda member exposed

2025-06-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120611 --- Comment #1 from Andrew Pinski --- Well _FUN is in the implementation defined namespace so I am not sure this if this is just a provided extension ...