Named Return Value Extension Proposal
E. Robert Tisdale
edwin@netwood.net
Wed Mar 31 23:46:00 GMT 1999
Mike Stump wrote:
> Sounds great, but I missed the proof where you showed
> the compiler can't figure this out for itself. :-(
> I instead favor having the compile do the hard work,
> and not require having the user try and code
> in something besides ANSI C++ in this case.
It can!
But the compiler must have already read the return statement
before it emits the code to construct x
which is something that the egcs compiler does not do.
E. Robert Tisdale <edwin@netwood.net>
More information about the Gcc
mailing list