4#include "Stroika/Foundation/StroikaPreComp.h"
8#if defined(__GNUC__) && defined(__GLIBCXX__)
10#elif qStroika_Foundation_Common_Platform_Windows
22#if qStroika_Foundation_Common_Platform_Windows
25#pragma comment(lib, "Dbghelp.lib")
35#if defined(__GNUC__) && defined(__GLIBCXX__)
37 char* realname = abi::__cxa_demangle (originalName.
AsNarrowSDKString (Characters::eIgnoreErrors).c_str (), 0, 0, &status);
39 if (realname !=
nullptr) {
46#elif qStroika_Foundation_Common_Platform_Windows
47 char resultBuf[10 * 1024];
48 if (::UnDecorateSymbolName (originalName.
AsNarrowSDKString (Characters::eIgnoreErrors).c_str (), resultBuf, sizeof (resultBuf), UNDNAME_COMPLETE) != 0) {
String is like std::u32string, except it is much easier to use, often much more space efficient,...
nonvirtual string AsNarrowSDKString() const
static String FromNarrowSDKString(const char *from)
auto Finally(FUNCTION &&f) -> Private_::FinallySentry< FUNCTION >