cast(size_t)&c != 0, but c is null
Namespace
rswhite4 at googlemail.com
Wed May 15 13:49:24 PDT 2013
On Wednesday, 15 May 2013 at 20:15:26 UTC, Timothee Cour wrote:
> 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
I know that feeling. :D But I doubt that D will have such a thing
some day.
But: good luck, it is about time that D catch up fully to C++. :)
More information about the Digitalmars-d-learn
mailing list