On 7/18/2013 7:15 PM, Robert O'Callahan wrote:
On Fri, Jul 19, 2013 at 3:34 AM, Ehsan Akhgari <[email protected]>wrote:

On 2013-07-18 5:48 AM, [email protected] wrote:

          r-value references      4.3@    10.0!   Yes
This is very useful.  I believe the JS engine already rolls their own
tricks to implement this semantics.

With this we can get rid of already_AddRefed and just pass
nsRefPtr/nsCOMPtr/RefPtr around, right?
I believe so. We can also add a non-broken variant of nsAutoPtr modeled after std::unique_ptr (allows moves but not copies).

--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to