This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Section 12.1.13A of the Standard & gcc
- To: Michael Vance <briareos at lokigames dot com>
- Subject: Re: Section 12.1.13A of the Standard & gcc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 15 Jun 2000 19:05:10 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20000615144242.N18070@namaste.lokigames-lan.com>
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