-
std::string real_name = abi::__cxa_demangle(typeid(*(*a)).name(), NULL, NULL, &status);必须使用#include <typeinfo>
-
std::string real_name = boost::core::demangle(typeid(*(*a)).name());必须使用
#include <boost/core/demangle.hpp>
#include <typeinfo>
04-18
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-12
1002
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-29
355
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-03
4068
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)