C++ expected-to-fail compilation goes through by not detecting mutable-specifier on lambda...
Wed Mar 4 01:54:00 GMT 2020
On Tue, Mar 3, 2020 at 9:57 PM Jonathan Wakely <email@example.com>
> What they're doing seems kinda OK, but I think it's not actually
> allowed by the standard. The wording does say that unless the lambda
> uses the mutable keyword, the function call operator is
> So I think this is a bug.
Thanks Jonathan, yep makes sense. I've filed a bug report just in case:
More information about the Gcc-help