ref arguments

Jarrett Billingsley jarrett.billingsley at gmail.com
Mon Sep 21 08:39:34 PDT 2009


On Mon, Sep 21, 2009 at 11:12 AM, #ponce <aliloko at gmail.com> wrote:
> Is there a reason to use ref instead of in, inout or out ?
> I'm using D1 and it's not in the spec.

'ref' and 'inout' are identical. 'ref' was introduced after D1 was
finalized for future expansion - 'inout' return values don't make much
sense.


More information about the Digitalmars-d-learn mailing list