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 bce2247Copy full SHA for bce2247
include/reflection-cpp/reflection.hpp
@@ -672,7 +672,7 @@ 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('>'));
+ return str.substr(str.find('<'), str.find('>'));
676
#else
677
constexpr auto MarkerStart = std::string_view { "E = " };
678
0 commit comments