Explicitly saying ref or out when invoking a function

Adam D. Ruppe destructionator at gmail.com
Tue Aug 11 13:32:28 PDT 2009


On Tue, Aug 11, 2009 at 04:28:06PM -0400, bearophile wrote:
> There's an intermediate solution, to make "ref" optional at the calling site (as in the "override" case). I don't know how much this can improve the situation.

That seems to me to defeat the point, since you can't rely on it anymore.

> 
> Bye,
> bearophile

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list