3 Feb
2006
3 Feb
'06
10:52 a.m.
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