#pragma once #include #include namespace NPrivate { /* * cxxabi::__cxa_demangle (and thus TCppDemanger) have terrible memory ownership model. * * Consider using CppDemangle instead. It is slow, but robust. */ class TCppDemangler { public: const char* Demangle(const char* name); private: THolder TmpBuf_; }; } // namespace NPrivate