Implement visibility mask

This commit is contained in:
Patrick Nicolas
2025-01-03 20:49:27 +01:00
parent 7384779f87
commit 3a09e2fb1f
8 changed files with 116 additions and 6 deletions
+4 -1
View File
@@ -140,7 +140,10 @@ constexpr auto type_name()
constexpr size_t pos = sv3.rfind("::");
constexpr size_t pos2 = pos == std::string_view::npos ? 0 : (pos + 2);
constexpr std::string_view sv4 = sv3.substr(pos2);
constexpr size_t pos3 = sv3.find_first_of(", ");
constexpr std::string_view sv4 = sv3.substr(pos2,
pos3 == std::string_view::npos ? pos3 : pos3 - pos2);
return fixed_string<sv4.size() + 1>(sv4);
}