11 Nov
2002
11 Nov
'02
12:40 a.m.
On Sunday, November 10, 2002, at 10:34 AM, Hickman, Greg wrote:
My question is: Is this an acceptable use of the shared_ptr deallocator, or am I just asking for trouble?
It's just fine. Recommended even. This is one of the strengths of shared_ptr, that shared_ptr instances can be deleted even in contexts where the deallocating function is not accessible. -- Darin