[Bug c++/66476] Erroneous initializer_list lifetime extension from temporary initializer_list

ed at catmur dot uk gcc-bugzilla@gcc.gnu.org
Thu May 24 11:16:00 GMT 2018


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

Ed Catmur <ed at catmur dot uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Ed Catmur <ed at catmur dot uk> ---
Ah wait, guaranteed copy elision since C++17 should fix this, right? So g++ is
actually correct now, even if it was wrong before.


More information about the Gcc-bugs mailing list