|
Boost Users : |
From: Loïc Joly (loic.joly_at_[hidden])
Date: 2006-02-03 05:52:57
Guy Peleg a écrit :
> Hi,
>
> How come scoped_ptr can't work with a special
> 'deleter' as shared_ptr?
I was just wondering the same thing. This would be quite convenient for
me, where I just want to use RAII without redefining the ressource
holding class. I agree that I could just use shared_ptr anyway for this
purpose, but scoped_ptr would be documenting my intent more precisely.
This would be a good addition to scoped_ptr, IMO.
-- Loïc
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