28 Sep
2007
28 Sep
'07
9:43 a.m.
On Fri, Sep 28, 2007 at 10:59:32AM +0200, Ion GaztaƱaga wrote:
Notes: When the the time comes to delete the object pointed to by p, the stored copy of d is invoked with the stored copy of p as an argument.
I think that the original poster was referring to internal allocation that shared_ptr does for *its own* needs (shared_ptr dynamically allocates a counter class per every 'vivifying' instance [i.e. when created from a raw pointer, not from another shared_ptr]).