www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: comparing typedefed type to null

mike Wrote:

 You should always use the "is" operator to check for null:
 
 ' if (br is null) { ... }

This behaves exactly the same as '=='. :-(
Mar 03 2007