|
Boost Users : |
From: Darin Adler (darin_at_[hidden])
Date: 2002-11-10 19:40:37
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net