scope ref const(T) --> error?!

Mehrdad wfunction at hotmail.com
Thu May 3 11:28:17 PDT 2012


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...


More information about the Digitalmars-d mailing list