Stack overflow

Namespace rswhite4 at googlemail.com
Sun Jun 24 03:45:42 PDT 2012


On Sunday, 24 June 2012 at 10:37:39 UTC, David wrote:
> Am 24.06.2012 11:35, schrieb Namespace:
>>> A non-nullable type _will_ be added to Phobos at some point.
>>
>> As struct or class or as built-in type?
>>
>> And can me explain somebody why
>> [code]
>> @disable
>> this(typeof(null));
>> [/code]
>> print "Stack overflow"?
>
>
> What should typeof(null) return you? void*, int*

I don't understand, what do you mean?


More information about the Digitalmars-d-learn mailing list