alias this and null reference

Adam D. Ruppe destructionator at gmail.com
Fri Apr 27 13:19:09 PDT 2012


On Friday, 27 April 2012 at 17:47:48 UTC, Jonathan M Davis wrote:
> Access violations / segfaults aren't exceptions. They're OS 
> signals. You can't catch them.

Actually, on Windows, access violation is a thrown Error.

I don't think you should catch it, but you can.

See druntime's src/rt/deh.d for the implementation.


On Linux though, you can't catch the signal.


More information about the Digitalmars-d-learn mailing list