Re: [boost] Policy-based smart pointers revisisted

2003-01-18 Thread Terje Slettebø
>From: "Greg Colvin" <[EMAIL PROTECTED]> > At 07:33 AM 1/18/2003, Peter Dimov wrote: > > > >It is not simply declaration complexity that Dave's talking about - it can > >be avoided by making smart_ptr be shared_ptr by using default > >parameters. It is semantic complexity. shared_ptr is fairly dee

Re: [boost] Policy-based smart pointers revisisted

2003-01-18 Thread David Abrahams
Greg Colvin <[EMAIL PROTECTED]> writes: > One aspect of the semantic complexity that bothers me > is that the various flavors of smart pointer may not > be interchangeable. shared_ptr is partly parameterized > on implementation, but the interface and semantics > remain the same. For a policy-bas

Re: [boost] Policy-based smart pointers revisisted

2003-01-18 Thread Greg Colvin
At 07:33 AM 1/18/2003, Peter Dimov wrote: >From: "Terje Slettebø" <[EMAIL PROTECTED]> >> >From: "David Abrahams" <[EMAIL PROTECTED]> >> > >> > Please don't take this to mean I'm against a >> > policy-based smart pointer; quite the opposite. I've >> > said all along it would be great to have one in

Re: [boost] Policy-based smart pointers revisisted

2003-01-18 Thread Terje Slettebø
>From: "Peter Dimov" <[EMAIL PROTECTED]> > From: "Terje Slettebø" <[EMAIL PROTECTED]> > > > > I understand the concern. For one thing, we don't have template typedefs, > > yet, although me may get a similar effect (if not the same type) with > e.g.: > > > > template > > struct shared_ptr : smart_p

Re: [boost] Policy-based smart pointers revisisted

2003-01-18 Thread Peter Dimov
From: "Terje Slettebø" <[EMAIL PROTECTED]> > >From: "David Abrahams" <[EMAIL PROTECTED]> > > > > Please don't take this to mean I'm against a > > policy-based smart pointer; quite the opposite. I've > > said all along it would be great to have one in boost. > > I've even wished I had an appropriat

Re: [boost] Policy-based smart pointers revisisted (was: Re:Preliminary submission: command line & config file library)

2003-01-17 Thread David Abrahams
Terje Slettebø <[EMAIL PROTECTED]> writes: >>From: "David Abrahams" <[EMAIL PROTECTED]> >> >> Please don't take this to mean I'm against a >> policy-based smart pointer; quite the opposite. I've >> said all along it would be great to have one in boost. >> I've even wished I had an appropriate occ

[boost] Policy-based smart pointers revisisted (was: Re: Preliminarysubmission: command line & config file library)

2003-01-17 Thread Terje Slettebø
>From: "David Abrahams" <[EMAIL PROTECTED]> > > Please don't take this to mean I'm against a > policy-based smart pointer; quite the opposite. I've > said all along it would be great to have one in boost. > I've even wished I had an appropriate occasionally. > > I just don't want to trivialize wha