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

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

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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-09 
09:34:28 UTC ---
(In reply to comment #0)
> void rejected(A &a = A())

You can't bind a non-const reference to a temporary

Reply via email to