On Wed, Dec 08, 2021 at 05:21:49PM +0000, Ben Jones via Digitalmars-d-learn 
wrote:
[...]
> I considered just having a `ref int` parameter, but I didn't think
> that would work if I was actually calling a property function, rather
> than just modifying a struct member.
[...]

Why not pass the entire struct by ref?


T

-- 
Who told you to swim in Crocodile Lake without life insurance??

Reply via email to