On 2014-12-23 2:52 AM, Ms2ger wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/23/2014 12:45 AM, Ehsan Akhgari wrote:
On 2014-12-22 6:35 PM, L. David Baron wrote:
On Monday 2014-12-22 18:21 -0500, Ehsan Akhgari wrote:
On 2014-12-22 6:07 PM, L. David Baron wrote:
On Monday 2014-12-22 17:54 -0500, Ehsan Akhgari wrote:
On 2014-12-22 4:56 PM, L. David Baron wrote:
I think removing implicit conversions to T* will make a
lot of code in the tree uglier (".get()" everywhere).
That might, in turn, encourage people to do worse things
to avoid having to write .get() everywhere; it's worth
thinking about what those things will be.

Do you have any examples of those bad things?  (FWIW I'm
all for making bad things impossible.)

* using raw pointers instead of smart pointers

I am planning on making that impossible [*] in 2015.

I presume you mean making direct calls to AddRef and Release
impossible, and not raw pointers in general.

Well, I did pick that project up but for some reason it was never
finished (don't remember what.)  But that's not what I was talking
about.  See bug 1114683 for an example of what I was talking
about.

It was finished, and then reverted. For reference:
<https://bugzilla.mozilla.org/show_bug.cgi?id=666414>,
<https://bugzilla.mozilla.org/show_bug.cgi?id=710473>.

Ah, right. I'll see if I can reland this now with some compiler upgrades that have happened since then.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to