I am tempted to assume |t| will be an empty shell after foo(Move(t)) if I don't see the prototype foo(T&&).
For |bar(already_AddRefed<T>&&)|, it is also possible for the callsite to say |bar(r.forget())| without forcing the caller to handle conditional ownership transfer which won't be caught until runtime. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform