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

Function Documentation

template<typename T, typename ...U>
const char *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 SYMBOL_UNKNOWN.

Parameters:

f[in] the std::function object

Returns:

the symbol, or a placeholder