Template Function tracetools::get_symbol(std::function<T(U…)>)

Function Documentation

template<typename T, typename ...U>
const char *tracetools::get_symbol(std::function<T(U...)> f)

Get symbol from an std::function object.

If function address resolution or symbol demangling fails, this will return a string that starts with TRACETOOLS_SYMBOL_UNKNOWN.

Parameters

f[in] the std::function object

Returns

the symbol, or a placeholder