You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3e5897a
Browse filesBrowse the repository at this point in the historyBrowse files
src,test: allow creating Function with move-only functor
Function::New fails to compile when given a move-only functor. For
example, when constructing a callback function for Promise#then, a
lambda might capture an ObjectReference. Creating a Function for such a
lambda results in a compilation error.
Tweak Function::New to work with move-only functors.
For existing users of Function::New, this commit should not change
behavior.
0 commit comments