ref parameters: there is no escape

Dmitry Olshansky dmitry.olsh at gmail.com
Tue Aug 16 03:09:35 PDT 2011


On 16.08.2011 7:33, Mehrdad wrote:

>
>     void dangerous(ref int x)
>     {
>         unsafe
>         {
>            bar(&x);
>         }
>     }
>
@system void dangerous(ref int x)
   {
            bar(&x);
   }
Fixed?

-- 
Dmitry Olshansky



More information about the Digitalmars-d mailing list