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
Sure. Process takes a functor, and normally that is a lambda expression. As with all lambdas, you can pass specific local variables or all local variables like in this example. the [&] statement tells the compiler to make all the local variables available as references inside Process().
I read the async demo, it's very easy and elegant.
but, can i pass parameters into the process function like this:
The text was updated successfully, but these errors were encountered: