[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:05:42
Message-ID: 200601141405.42535.Woebbeking () onlinehome ! de
[Download RAW message or body]

On Saturday 14 January 2006 13:06, Boudewijn Rempt wrote:
> On Saturday 14 January 2006 12:54, Michel Hermier wrote:
> > One main disaventage of that is that we can't use the
> > "KSharedPtr<Foo> foo = bar;" syntax.
> > We must use the "KSharedPtr<Foo> foo(bar);" syntax.
>
> I'd hate that... We use this construction in so many places in Krita
> that it's going to be decided unfun to convert it everywhere.

It's worth this little inconvenience. The dangling pointer from Michel's 
example is much more anoying.
[prev in list] [next in list] [prev in thread] [next in thread] 

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