C++ lambdas have different sizes, so you can't embed an arbitrary one into another structure.
I does not need to be embedded. I just need a pointer to it.