This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: array decays too fast.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]