[dmd-beta] rvalue references

Jason House jason.james.house at gmail.com
Wed Apr 11 05:25:23 PDT 2012


On Apr 11, 2012, at 12:14 AM, Walter Bright <walter at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20120411/550482c3/attachment-0001.html>


More information about the dmd-beta mailing list