MCPcopy Create free account
hub / github.com/OAID/Tengine / GetRealName

Function GetRealName

include/any.hpp:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace TEngine {
26
27static inline std::string GetRealName(const char* name)
28{
29 std::string result;
30
31 char* real_name = abi::__cxa_demangle(name, nullptr, nullptr, nullptr);
32
33 result = real_name;
34
35 std::free(real_name);
36
37 return result;
38}
39
40class bad_any_cast : public std::bad_cast
41{

Callers 1

bad_any_castMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected