If you don’t want to template everything, you can do the following:
#include<functional>
void LambdaTest (const std::function <void (int)>& f)
{
...
}
If you don’t want to template everything, you can do the following:
#include<functional>
void LambdaTest (const std::function <void (int)>& f)
{
...
}