On 4/17/12, darkstalker <[email protected]> wrote: > It possible to have 'p' passed by reference?
Yes and the answer is in the question:
foreach (ref p; a)
p = 42;
On 4/17/12, darkstalker <[email protected]> wrote: > It possible to have 'p' passed by reference?
Yes and the answer is in the question:
foreach (ref p; a)
p = 42;