On Apr 11, 2012, at 12:14 AM, Walter Bright <walter@digitalmars.com> wrote:



On 4/10/2012 8:36 PM, Jason House wrote:

While I have no plans to use it, what mechanism, if any, will allow escaping the address? Usually, casts are the back door, but I don't believe that works in this case.

Case 3.

I understand that, but D is a systems language and allows a determined programmer to do what they need. I could imagine passing a ref to a thread and ensuring that it finishes before the function exits. D usually allows a back door for such things, and disallows such back doors in SafeD