Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the "cxa" prefix mean in "__cxa_demangle"?

Tags:

c++

linux

prefix

I have a piece of code, in which I see the __cxa_ prefix. For instance, the following excerpt contains it:

    std::unique_ptr<char, void (*)(void *)> own(
#ifndef _MSC_VER
            abi::__cxa_demangle(typeid(TR).name(), nullptr,
                                nullptr, nullptr),
#else
            nullptr,
#endif
            std::free
    );

I would be happy to have some explanations on the meaning of cxa.

like image 404
anzeaucha Avatar asked Jan 20 '16 10:01

anzeaucha


1 Answers

It's just function name, but may be it's CXxAbi.

like image 66
ForEveR Avatar answered Nov 13 '22 09:11

ForEveR