
Kenny wrote on Thursday, March 17, 2011 at 22:08:51:
On 3/17/2011 2:13 PM, pavel wrote:
and at last can you please give a couple of reasons why delete'ing smart pointers is a bad idea?
Because it's a lie. "delete" should delete something, and not be overloaded to perform non-obvious, unrelated logic. A perfect example is how the proposed usage of "delete" confused Frank Mori Hess. Was it unreasonable for him to see "delete" and assume that it was actually deleting something? i disagree with you in my view it perfectly fits and i believe Frank just misread my message
The same can be accomplished using type traits or function overloading. sure it can
-- Pavel P.S. if you notice a grammar mistake or weird phrasing in my message please point it out