14 std::string_view
name, prefix, suffix;
16 name = __PRETTY_FUNCTION__;
17 prefix =
"auto chatterino::type_name() [T = ";
19 #elif defined(__GNUC__) 20 name = __PRETTY_FUNCTION__;
21 prefix =
"constexpr auto chatterino::type_name() [with T = ";
23 #elif defined(_MSC_VER) 25 prefix =
"auto __cdecl chatterino::type_name<";
28 name.remove_prefix(prefix.size());
29 name.remove_suffix(suffix.size());
Definition: Application.cpp:48
constexpr auto type_name()
Definition: TypeName.hpp:12
QString name
Definition: Credentials.cpp:94