escaping addresses of ref parameters - not

Christopher Wright dhasenan at gmail.com
Mon Feb 9 04:43:49 PST 2009


Denis Koroskin wrote:
> On Mon, 09 Feb 2009 11:24:09 +0300, Bartosz Milewski 
> <bartosz at relisoft.com> wrote:
> 
>> My point is that it's a redundant check. Whether it is there or not, 
>> the result is the same--the program will halt. Maybe the error message 
>> form enforce will look nicer, but that's about it.
>>
> 
> It will throw a recoverable Exception (an access violation is an Error, 
> IIRC).

And a segfault is a hard stop, unless you have a signal handler for it.



More information about the Digitalmars-d mailing list