[Bug c++/102116] structured binding is returned from a function as rvalue in C++20 mode

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 2 06:55:13 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102116

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Fedor Chelnokov from comment #1)
> Sorry, what do you mean by "wrong-code" tag? The code example is for sure
> valid. It may be only unclear which one of two A-constructors must be called.

wrong-code keyword means GCC is out putting the wrong thing for the input of
valid code.  Does that make sense?


More information about the Gcc-bugs mailing list