Walter Dörwald wrote: > Greg Ewing wrote: >> It would be less efficient in the cases where you don't >> need to check for NULL and/or clear the reference >> afterwards. > > Both should be optimized away by the compiler. How? I don't see how the compiler can know either of those things. -- Greg