null dereference

Ary Borenszweig ary at esperanto.org.ar
Sat Mar 15 06:34:39 PDT 2014


On 3/15/14, 8:25 AM, bearophile wrote:
> luka8088:
>
>> I was thinking and I am not sure about the reason for not having some
>> king of safeguard for null dereferencing in version(assert)/debug builds.
>
> Eventually reference deference in D will be guarded by an assert in
> non-release builds. This desire is a raising tide that eventually can't
> be stopped.
>
> Bye,
> bearophile

Really? I thought Walter was against this. He always says you can fire 
up a debugger and check where the dereference occurred.


More information about the Digitalmars-d mailing list