Commit 247de52b authored by Christophe Bedard's avatar Christophe Bedard

Add overload of get_symbols as a fallback

parent d2369641
......@@ -38,4 +38,11 @@ const char * get_symbol(std::function<T(U...)> f)
return _demangle_symbol(f.target_type().name());
// Fallback meant for lambdas with captures
template<typename L>
const char * get_symbol(L && l)
return _demangle_symbol(typeid(l).name());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment