[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KSharedPtr changes
From:       André_Wöbbeking <Woebbeking () onlinehome ! de>
Date:       2006-01-14 13:10:55
Message-ID: 200601141410.55739.Woebbeking () onlinehome ! de
[Download RAW message or body]

Hi Michel,

On Saturday 14 January 2006 12:54, Michel Hermier wrote:
> Hi,
> I would like commit the attached patch (ksharedptr.h.diff).
> It does:
> - separate raw pointer operator from ksharedptr operators.
> - add a clear method to make the pointer null.
> - make the method attach only usable on raw pointer.
>   (since it's a *low level* method and that the operator = handle all
> the cases)
>   I still wonder if I should make that method a private/protected
> one.

I'd like to see boost::shared_ptr conform API as it will be in the next 
C++ standard.

> Other than that I would like to know the opinion of people if I make
> the main constructor an explicit one.

You've my vote.


Cheers,
André

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic