зеркало из https://github.com/mozilla/gecko-dev.git
eb46a3cefe
Instead of lvalues, MozPromiseHolder::Resolve and Reject now take either const& or && values of the expected types, to allow move semantics all the way to the ResolveOrRejectValue object. Note that we won't just take forwarding references of any type, as this could lead to implicit conversions by bypassing the 'explicit' marker of the value type constructors, like in bug 1331137. MozReview-Commit-ID: K0jeY6WTXI1 --HG-- extra : rebase_source : 7ee0fd1edfdeadb239f48c8b5b46fd54af3ec5d2 |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust/nsstring | ||
string | ||
system | ||
tests | ||
threads | ||
typelib | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |