On 13-07-22 10:30 AM, Ehsan Akhgari wrote: > That's not possible in C++11. Thinking about this more, the reason that > this works fine for std::shared_ptr is the fact that it does _not_ have > a T* implicit conversion operator. Therefore, we can't switch to rvalue > references to replace already_AddRefed. :(
Does this make removing the T* operator more attractive? https://bugzilla.mozilla.org/show_bug.cgi?id=767178 -r _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform