null [re: spec#]

Simen kjaeraas simen.kjaras at gmail.com
Sun Nov 7 13:09:04 PST 2010


Nick Sabalausky <a at a.a> wrote:

> - if ( m > 12 ) {
> + if ( p && m > 12 ) {
>
> And you can toss in an "if(m>12) assert(p);" if you're worried about  
> that.

Of course. But the point is, this is unnecessary. We know p !is null
when m > 4.

-- 
Simen


More information about the Digitalmars-d mailing list