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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 14 12:01:00 GMT 2011


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |4.7.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-14 11:34:39 UTC ---
compiles fine with 4.7.0 20111126, but I'm not sure if it's fixed or just
latent



More information about the Gcc-bugs mailing list