Should I compare pointers with is of == ?

BCS none at anon.com
Wed Oct 14 09:50:37 PDT 2009


Hello #ponce,

> It's a bit unclear to me.
> 
> I know I must compare references with is but pointers ?
> 

Because it's always safe, I tend to use 'is' in any cases where one side 
could be null.




More information about the Digitalmars-d-learn mailing list