I have a C++ function that takes another function as a parameter. When I use this function I pass it a lambda function with a capture list. This works fine until I attempt t