For this case I’ve used:
Ref{Ptr{Int}}()
Which can convert to **int nicely. It’s basically equivalent to the previous array example but is a little more semantic in my opinion.
For this case I’ve used:
Ref{Ptr{Int}}()
Which can convert to **int nicely. It’s basically equivalent to the previous array example but is a little more semantic in my opinion.