NotNull pointers
Brad Roberts
braddr at slice-2.puremagic.com
Tue Aug 30 18:28:02 PDT 2011
On Tue, 30 Aug 2011, Walter Bright wrote:
> On 8/30/2011 5:08 PM, Bernard Helyer wrote:
> > On Tue, 30 Aug 2011 16:19:00 -0700, Walter Bright wrote:
> >
> > > Looking for corruption of the data.
> >
> > Why doesn't it check for null, and pass if no invariant is defined?
>
> Because the hardware does the null check for you, which is what a seg fault
> is.
The frequency with which this comes up and the lack of converts to that
point of view ought to tell you something here. :)
Would you entertain a pull request with this fairly simple change?
More information about the Digitalmars-d
mailing list