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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
https://gcc.gnu.org/projects/cxx-status.html#cxx26 clearly states that the
whole paper has not been implemented yet, only the smaller part of it which
allows constexpr and constinit keyword on structured bindings.
So, in some cases for now the structured binding needs to be static if it needs
to be constexpr, because the references to constexpr vars part of the paper is
not implemented yet.
PR117784 says that too.

*** This bug has been marked as a duplicate of bug 117784 ***

Reply via email to