From kde-core-devel Sun Jan 15 06:43:40 2006 From: Michael Pyne Date: Sun, 15 Jan 2006 06:43:40 +0000 To: kde-core-devel Subject: Re: KSharedPtr changes Message-Id: <200601150143.41063.michael.pyne () kdemail ! net> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113730704718938 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart6657987.X2MxNsJAqY" --nextPart6657987.X2MxNsJAqY Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 =3D 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= =20 syntax change would be required. Regards, - Michael Pyne --nextPart6657987.X2MxNsJAqY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDye8dqjQYp5Omm0oRApuHAKCMU+yMwHd9ki7VJ1YhrkLr+BRyagCeM9H9 77r5SbNF7TL7W/zjWGZnXQA= =fGr8 -----END PGP SIGNATURE----- --nextPart6657987.X2MxNsJAqY--