Section 12.1.13A of the Standard & gcc

Alexandre Oliva aoliva@redhat.com
Thu Jun 15 15:05:00 GMT 2000


On Jun 15, 2000, Michael Vance <briareos@lokigames.com> wrote:

> Gcc does not appear to think that A() can promote to type of A&

It's correct.  Temporaries can't be bound to non-const references.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc-bugs mailing list