I am trying to pass a lambda expression to a function that takes a function pointer, is this even possible?
Here is some sample code, I\'m using VS2010:
In VC10 RTM, no - but after the lambda feature in VC10 was finalized, the standard committee did add language which allows stateless lambdas to degrade to function pointers. So in the future this will be possible.