-----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>. HTH Ms2ger -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJUmR8xAAoJEOXgvIL+s8n2OlcH/Am6t8XxPCvZj3w/VWbPbhF8 wQRqfnWvdHwB/neOxaTzcyMWL1siQfQIHTmDjOKmbKtD6tETyybuYiWba6YmRjFQ 52URtbQkh5zRS6VawRyNEiMc3ea6gnj+TPQ9jOOgO0556wjN+CoqwWAXvcFz6mhC AQVVh+Cm9mvo3VRJcmzFbQ6lwuIaUOruIoDE8vy8fQVKC1vYgIxntKgfpcLQIe0Z 2Oux89uN3xJOl9i+JZevUkOrdFO7tZg2LduS7YcdCg9WFZy1PNIKcLxnGLi8V1Nv JkwEX+YpkgV/whI6etk4D7nzWT+ZDRYVEsPrZlRRf8Lph9dM0kP3y15H7pEY9Q0= =fIbp -----END PGP SIGNATURE----- _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform