[Bug c++/122690] [C++23] std::is_implicit_lifetime incorrectly depends on constructor access

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 18 10:26:32 GMT 2025


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2025-11-18
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 62828
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62828&action=edit
gcc16-pr122690.patch

That said, here is an untested patch which looks just for triviality and
eligibility of the ctors and triviality and deletion of destructor, not on
their access.


More information about the Gcc-bugs mailing list