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

List:       kde-core-devel
Subject:    Re: about kde4's smart pointer
From:       Adriaan de Groot <groot () kde ! org>
Date:       2006-10-03 20:14:24
Message-ID: 200610032214.30329.groot () kde ! org
[Download RAW message or body]


On Tuesday 03 October 2006 16:20, Adriaan de Groot wrote:
> On Tuesday 03 October 2006 16:10, Cyrille Berger wrote:
> > On Tuesday 03 October 2006 16:08, Adriaan de Groot wrote:
> > > DOes this have anything to do with explicit constructor checks? They
> > > may have gotten in the way here.
> >
> > yes it has. But the question is wether it was made on purpose or just to
> > remove the warning message in the EBN.

I'd like to focus on the explicitness of the constructor:

501697    hermier     inline explicit KSharedPtr( T* p )

is that or is that not a good idea for this kind of shared pointer? I'd like 
comments from people who know something about the intended use of such 
pointers (the change has been in there for a long time though).

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot

[Attachment #3 (application/pgp-signature)]

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

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