
18 Mar
2011
18 Mar
'11
4:29 p.m.
On 3/18/2011 12:19 PM, Eric J. Holtman wrote:
On 3/18/2011 11:11 AM, Kenny Riddile wrote:
having "delete p" do *anything other* than p = 0 for a smart pointer would be suicidal.
That actually kind of sounds like the exact opposite of what I said :)
Well, you elided my second point. My point was, clearly, that "delete p" can't really call delete.
So, the only thing it can do is the equivalent of "p.reset".
And I was arguing for just using "p.reset" (which I prefer over "p=0", because it's easier to search for)
_______________________________________________ Unsubscribe& other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Agreed...sometimes typing is far inferior to speaking :)