
12 Jul
2004
12 Jul
'04
9:09 p.m.
Maciej Sobczak wrote:
Even assuming that scoped_handle is an easy exercise, a short thought about potential shared_handle reveals that it would share (ahem) lots of stuff with shared_ptr, esecially the details of managing reference counts and custom deleters.
I'm thinking about possibility to reuse all this machinery, but nothing obvious comes to mind.
Um, all the machinery is in detail::shared_count? Why should it be impossible to reuse?