cast(size_t)&c != 0, but c is null

Timothee Cour thelastmammoth at gmail.com
Wed May 15 13:15:13 PDT 2013


On Wed, May 15, 2013 at 12:35 PM, Namespace <rswhite4 at googlemail.com> wrote:

> //    writeln(AddressOf(B.init)); //waiting for rvalue ref, DIP39
>>
> Did I miss something? Since when is sure that the DIP is implemented? o.O
>

just wishful thinking :) actually this should've been:
//    writeln(AddressOf(B.init^)); //waiting for rvalue ref, DIP39
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20130515/0d3fe7fc/attachment-0001.html>


More information about the Digitalmars-d-learn mailing list