Add get_symbol overload as fallback for lambdas with capture
Lambdas with captures are a bit different. They can't really be std::function
s.
Therefore a very generic overload is added as a fallback. It simply uses typeid().name()
which works fine for lambdas.
This also adds a test for this specific use-case.
Edited by Christophe Bédard