April 06, 2015 Re: Why dont dlang check NullPointer? | ||||
---|---|---|---|---|
| ||||
Posted in reply to zhmt | On Friday, 27 March 2015 at 03:46:49 UTC, zhmt wrote: > In short words, I want to catch something like NullPointerException. > > Is this possible? Yes on Linux use: etc.linux.memoryerror which is undocumented for some reason. https://github.com/D-Programming-Language/druntime/blob/master/src/etc/linux/memoryerror.d |
Copyright © 1999-2021 by the D Language Foundation