On Fri, Jul 3, 2015 at 3:56 PM, Neil <n...@parkwaycc.co.uk> wrote: > Aryeh Gregor wrote: > >> we still want a new type for function parameters that accepts implicit >> conversions from nsRefPtr/nsCOMPtr, to use instead of raw pointers. >> > Sure, but that won't stop someone from writing Arg<Foo> foo = ReturnFoo2(); > will it?
No, but that's an extremely obvious bug that should be caught in review. If you want to be sure, you could do static analysis of some kind, but I don't expect it's necessary. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform