Template Function tracetools::get_symbol(L&&)
Defined in File utils.hpp
Function Documentation
-
template<typename L>
char *tracetools::get_symbol(L &&l) Get demangled symbol from a function-related object.
Fallback meant for lambdas with captures.
- Parameters:
l – [in] a generic object
- Returns:
the symbol, or nullptr if demangling failed. The caller is responsible for deallocating this memory using free.