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

List:       kde-core-devel
Subject:    Re: KSharedPtr changes
From:       Michael Pyne <michael.pyne () kdemail ! net>
Date:       2006-01-15 6:43:40
Message-ID: 200601150143.41063.michael.pyne () kdemail ! net
[Download RAW message or body]


On Sunday 15 January 2006 01:38, Michael Pyne wrote:
> > It's worth this little inconvenience. The dangling pointer from Michel's
> > example is much more anoying.
>
> Have you guys actually tested that?  Unless I'm mistaken, in C++, *when
> constructing an object*, the Foo foo = bar; and Foo foo(bar); syntaxes are
> identical and equivalent.
>
> I'll make up some test code and report back.

Well, it works sometimes, but not with explicit constructors.  So yes, the 
syntax change would be required.

Regards,
 - Michael Pyne

[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