<div class="gmail_extra">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?<br>
<br><div class="gmail_quote">On 3 May 2012 21:28, Mehrdad <span dir="ltr"><<a href="mailto:wfunction@hotmail.com" target="_blank">wfunction@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What's wrong with passing a struct as scope ref const?<br>
<br>
I want to avoid copying the struct, and its information is only read inside the function...<br>
</blockquote></div><br></div>