multiple opApply functions?

Jarrett Billingsley kb3ctd2 at yahoo.com
Mon May 21 19:35:31 PDT 2007


"Jason House" <jason.james.house at gmail.com> wrote in message 
news:f2tj95$2llq$1 at digitalmars.com...
> Daniel Keep wrote:
>> Just realised; if that version of gdc only implements D v1.007, you
>> might need to try "inout" instead of "ref".
>>
>
> That worked, but now I'm confused... isn't inout the default way of 
> passing parameters into functions?  I thought inout was assumed.

No; inout is "by reference."  The default is in, which means "by value." 




More information about the Digitalmars-d-learn mailing list