问题
This question is a continuation of the following question, where a code to demangle a function-name given by the backtrace
function is presented.
I wonder whether there is a way to get the name and the namespaces of a callable object. Here we assume that the function does have a name and that it is possible to demangle its name with abi::__cxa_demangle
(for example, it's not a lambda function).
Furthermore, would it be possible to get a list of the namespaces in which the function is?
来源:https://stackoverflow.com/questions/44920101/is-it-possible-to-get-the-function-name-from-the-mangled-string