You're looking for 'in ref T'? I was also trying to do this today funnily
enough, and it seems a shame this doesn't work. Is this a bug, or is it
intended that it's not supported?

On 3 May 2012 21:28, Mehrdad <[email protected]> wrote:

> What's wrong with passing a struct as scope ref const?
>
> I want to avoid copying the struct, and its information is only read
> inside the function...
>

Reply via email to