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
However, this is wrong, because there is no x in main but only an m. Unfortunately, this example is even more comples, because m must be moved into the lambda, so also the constructor must be modified to move its arguments to the fields.
But a very cool project! 👍
The text was updated successfully, but these errors were encountered:
In the recent version this is fixed partially. It does no longer try to use x. However, the move seems to be more complex. I have, not yet, figured out how to detect that.
This code
instantiates the lambda with
However, this is wrong, because there is no
x
inmain
but only anm
. Unfortunately, this example is even more comples, becausem
must be moved into the lambda, so also the constructor must be modified to move its arguments to the fields.But a very cool project! 👍
The text was updated successfully, but these errors were encountered: