On Fri, Dec 28, 2012 at 3:52 AM, Neil <n...@parkwaycc.co.uk> wrote:
> Jonas Sicking wrote:
>
>> There's nothing special about XPCOM objects here.
>>
>
> While this is clearly true, I still feel it's getting away from my original
> point, because I was trying to compare with nsCOMArray.

I guess my argument is: Sure, nsTArray<nsCOMPtr<>> and nsCOMArray
behave differently, but I think we should should align them by making
nsCOMArray behave like nsTArray rather than the other way around. The
reason for this is that the nsTArray method seems to be working and is
simpler and faster. And we can add assertions to detect bad behavior.

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

Reply via email to