thanks ....I have linked the library. When I remove the declaration, I get "std::bad_function_call", as if the std::function is not capturing the target lambda. I can handle that exception easily enough, but why is it getting thrown? I tried another approach
auto default_parameter = []() {...