We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b554a commit 3e7a41cCopy full SHA for 3e7a41c
include/reflection-cpp/reflection.hpp
@@ -672,7 +672,8 @@ consteval auto GetName()
672
#if defined(_MSC_VER) && !defined(__clang__)
673
std::string_view str = REFLECTION_PRETTY_FUNCTION;
674
str = str.substr(str.rfind("::") + 2);
675
- return str.substr(0, str.find('>'));
+ str = str.substr(0, str.find('>'));
676
+ return str.substr(str.find('<')+1);
677
#else
678
constexpr auto MarkerStart = std::string_view { "E = " };
679
0 commit comments