Stack overflow

David d at dav1d.de
Sun Jun 24 03:37:38 PDT 2012


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*


More information about the Digitalmars-d-learn mailing list