[Bug c++/51547] auto, type deduction, reference collapsing and const: invalid initialization of reference of type 'const X&&' from expression of type 'const X'

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue Dec 27 19:15:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51547

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-12-27 19:07:23 UTC ---
Testcase added, I'm closing the PR as fixed for 4.7.0.



More information about the Gcc-bugs mailing list