comparing typedefed type to null

Rick Mann rmann-d-lang at latencyzero.com
Sat Mar 3 16:22:18 PST 2007


mike Wrote:

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

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



More information about the Digitalmars-d-learn mailing list