Hello everyone,
A little confused after reading C++ FAQ, "Why doesn't delete zero out its operand?"
http://www.research.att.com/~bs/bs_f...ml#delete-zero
I think the reason why delete can not zero out its operand is because delete can be operate on rvalue, like
delete f(x);
And we can not assign zero to the rvalue (i.e. delete's operand). My understanding correct?
thanks in advance,
George