[Bug c++/78896] [C++17] Segmentation fault occurs when use variable initialized using structured binding with capture-by-ref lambda
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 25 16:35:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78896
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> Jason, any thoughts on this? Shall we just disallow lambdas in
> decompositions? Shall the standard say anything about those?
Yes, the standard should probably explicitly prohibit this. We definitely
should.
More information about the Gcc-bugs
mailing list