Template Function tracetools::get_symbol(std::function<T(U…)>)
Defined in File utils.hpp
Function Documentation
-
template<typename T, typename ...U>
char *tracetools::get_symbol(std::function<T(U...)> f) Get demangled symbol from an std::function object.
- Parameters:
f – [in] the std::function object
- Returns:
the symbol, or nullptr if the symbol could not be retrieved or if demangling failed. The caller is responsible for deallocating this memory using free.