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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #0)
> [expr.prim.lambda.capture] p8 says "If a lambda-expression explicitly
> captures an entity that is not odr-usable or captures a structured binding
> (explicitly or implicitly), the program is ill-formed."

Is that something that was really in C++17?
That wording isn't in n4660.pdf and git blame seems to suggest it came from
P0588R1 which was a C++20 paper.

Reply via email to