Stack overflow

Timon Gehr timon.gehr at gmx.ch
Sun Jun 24 04:15:09 PDT 2012


On 06/24/2012 12:37 PM, 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*

typeof(null) gives typeof(null).


More information about the Digitalmars-d-learn mailing list