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]
Other format: [Raw text]

Re: 3.1 changes.html and the NRVO


On Fri, May 03, 2002 at 11:40:51PM +0100, Jason Merrill wrote:
> >>>>> "Phil" == Phil Edwards <phil@jaj.com> writes:
> 
> > Didn't we used to do the NRVO at one time?  In which case, shouldn't that
> > line read, "G++ again supports"?  I.e., s/now/again/ ?
> 
> No, we used to have an extension whereby you could explicitly request the
> NRVO, using syntax something like
> 
>   A f () return a;
>   {
>     a += 2;
>   }

Ah, that must be what I was thinking of.  Thanks.

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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