March 04, 2007 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 '=='. :-(
|
Copyright © 1999-2021 by the D Language Foundation