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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ppalka at gcc dot gnu.org
   Target Milestone|---                         |10.4

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
I think you're running into the LWG issue https://wg21.link/lwg3505 which has
been adopted as a defect report against C++20, and implemented for libstdc++
10.4 (not yet released) and 11+ (as you've noticed).  It's been backported to
the 10 release branch as r10-9740-g4c17b2bbbc1bef on April 20, 2021, so any
snapshot of libstdc++ 10 after that date should behave correctly.

Reply via email to