------- Comment #1 from bangerth at dealii dot org  2006-02-15 19:45 -------
The clause you cite only deals with the lifetime of temporaries, not with
the question whether they can be bound to references in the first place.

8.5.3/5 states that references can only be bound to lvalues or, if they
are rvalues only to constant references.

W.


-- 

bangerth at dealii dot org changed:

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


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

Reply via email to