It seems that VC10 cannot handle lambdas as arguments std::bind. It seems to be expecting either a function pointer or a function object. I don't know if this is a mistake, but I suspect that it is, since the lambda function should become objects of the function at compile time.
Anyway, if you need a workaround, this compiles for me:
std::function<void(int)> func = [] (int) {};
std::bind(func, 10);
source
share