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
hello
i would like first to thank you for the great work.
i would like to use the following code, but i guess the functional header doesnt have the function template:
#include
hello
i would like first to thank you for the great work.
i would like to use the following code, but i guess the functional header doesnt have the function template:
#include
class LambdaTest {
public:
LambdaTest(std::function<void (int n)> lambda){
lambda_ptr = &lambda ;
}
void callLambda(int value) {
(*lambda_ptr)(value);
}
protected:
std::function<void (int n)> *lambda_ptr;
};
The text was updated successfully, but these errors were encountered: