Lambda (c++)
A lambda can only be converted to a function pointer if it does not capture - SO
Possible workaround using std::function
/ SO
All About Lambda Function in C++(From C++11 to C++20)
Written on September 13, 2020, Last update on September 14, 2020
c++