Stack overflow

David d at dav1d.de
Sun Jun 24 04:58:21 PDT 2012


Am 24.06.2012 13:15, schrieb Timon Gehr:
> 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).

Right my bad, I was confused a bit



More information about the Digitalmars-d-learn mailing list