From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-11-16 22:02:40
At 02:48 PM 11/15/2001, Kevin Cline wrote:
> > Look at the smart pointer classes -- in my code, I have a header that
> > imports the boost smart pointers and STL smart pointer, and adds two
> > own:
> > scoped_ptr
> > scoped_array
> > auto_ptr
> > auto_array 
> > shared_ptr
> > shared_array
> > mt_shared_ptr 
> > There has been some talk on this list about using policy classes, and
> > a single smart pointer generator. We could allow different
> > mechanisms, different sharing capabilities, hooks for user
> > how many users would ever use them? We'd be adding a lot of
> > a small payback.
>I would support that. Loki::SmartPtr has more functionality than those
>seven put together, and I found it easier to understand.
There have been private conversations with Andrei recently, and I'm hoping
he will be able to submit Loki::SmartPtr to Boost soon.
The discussions view the possibility of treating the current boost smart
pointers as specific instances of Loki::SmartPtr. In effect, typedef
templates, to be simulated using inheritance.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk