How does D handle null pointers?

Adam D. Ruppe destructionator at gmail.com
Mon Aug 23 05:37:11 PDT 2010


On Mon, Aug 23, 2010 at 08:27:36AM -0400, Steven Schveighoffer wrote:
> I personally think even if we don't throw an exception, but print a full  
> stack trace, that would be fine.  Limit the stack trace to N frames to  
> prevent an infinite loop when stack corruption has occurred, and I think  
> we'd be good to go.

That seems like a pretty good idea. I guess undefined behavior doesn't matter
if the program is dead anyway!



More information about the Digitalmars-d mailing list