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

Johannes Kellner <johannes.kellner at wandelbots dot com> changed:

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

--- Comment #3 from Johannes Kellner <johannes.kellner at wandelbots dot com> 
---
'A temporary object bound to a reference parameter in a function call persists
until the completion of the full-expression containing the call.'

So this does not mean, that the temporary object, (int)lenght, should life
until the end of main ??? As main() is the enclosing scope?

Reply via email to