Can the compiler catch my stupid mistake?
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 14 11:11:12 PDT 2015
On Friday, 14 August 2015 at 18:06:41 UTC, Jack Stouffer wrote:
> On Friday, 14 August 2015 at 18:02:10 UTC, Meta wrote:
>> You're dereferencing a null pointer
>
> Oh, I see now, Thanks.
>
> Is there any way that the D runtime can throw a null pointer
> exception, a la Java or C#?
http://www.deadalnix.me/2012/03/24/get-an-exception-from-a-segfault-on-linux-x86-and-x86_64-using-some-black-magic/
More information about the Digitalmars-d
mailing list