Subject: Re: [boost] deleting smart pointer
From: Kenny Riddile (kfriddile_at_[hidden])
Date: 2011-03-18 17:21:59


On 3/18/2011 4:54 PM, pavel wrote:
> i'll rephrase it: deleting a pointer states that the scope of the
> pointer instance does not need the data pointed to (by the pointer
> instance)

No, deleting a pointer asserts that *nobody* needs the data that the
pointer points to. It is conceptually confusing to allow someone to
"delete" something and yet have that something still exist.