KSharedPtr changes

Michael Pyne michael.pyne at kdemail.net
Sun Jan 15 06:43:40 GMT 2006

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.

 - Michael Pyne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060115/f4a3a6d4/attachment.sig>

More information about the kde-core-devel mailing list