[Bug c++/70832] move-assignment of lambdas calls copy-assignment for captures
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 9 04:53:47 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70832
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>clang++ 3.7 works
clang 4.0 and above rejects both tests now with the same message as GCC. Are we
sure this was not a clang bug which was fixed?
Also ICC and MSVC rejects the code for the same reason too.
More information about the Gcc-bugs
mailing list