This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: array decays too fast.
- To: ncm at nospam dot cantrip dot org
- Subject: Re: array decays too fast.
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Thu, 13 Aug 1998 07:33:06 -0700
- CC: egcs at cygnus dot com
- References: <35D2622F.BA5D32B1@nospam.cantrip.org>
- Reply-to: mark at markmitchell dot com
>>>>> "Nathan" == Nathan Myers <ncm@nospam.cantrip.org> writes:
Nathan> In egcs-2.91.50, the type of an array decays too readily
Nathan> to a pointer, so that a conversion from T to const T&
Nathan> fails, and template type matching fails. (EDG-2.38
Nathan> accepts this code.)
I'm working on reworking the reference initialization code (there are
a lot of minor bugs in that area). Expect a fix some time next week.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com