DIP27 available for destruction

dennis luehring dl.soluz at gmx.net
Tue Feb 26 22:14:33 PST 2013


Am 27.02.2013 06:54, schrieb deadalnix:
>> In current D, the ambiguity is _already_ resolved - if you want
>> to function
>> address, use & operator.
>>
>
> D behave very much like C on that regard, so I don't really see
> how this can be true.

void (*functionPtr)();

//both are valid and working in C
functionPtr xyz = &foo;
functionPtr zxy = foo; //<- this is solved in D



More information about the Digitalmars-d mailing list