|
|
@@ -38,26 +38,26 @@ template<typename Type>
|
|
|
}
|
|
|
|
|
|
template<typename Type, auto = stripped_type_name<Type>().find_first_of('.')>
|
|
|
-[[nodiscard]] static constexpr std::string_view type_name(int) noexcept {
|
|
|
+[[nodiscard]] constexpr std::string_view type_name(int) noexcept {
|
|
|
constexpr auto value = stripped_type_name<Type>();
|
|
|
return value;
|
|
|
}
|
|
|
|
|
|
template<typename Type>
|
|
|
-[[nodiscard]] static std::string_view type_name(char) noexcept {
|
|
|
+[[nodiscard]] std::string_view type_name(char) noexcept {
|
|
|
static const auto value = stripped_type_name<Type>();
|
|
|
return value;
|
|
|
}
|
|
|
|
|
|
template<typename Type, auto = stripped_type_name<Type>().find_first_of('.')>
|
|
|
-[[nodiscard]] static constexpr id_type type_hash(int) noexcept {
|
|
|
+[[nodiscard]] constexpr id_type type_hash(int) noexcept {
|
|
|
constexpr auto stripped = stripped_type_name<Type>();
|
|
|
constexpr auto value = hashed_string::value(stripped.data(), stripped.size());
|
|
|
return value;
|
|
|
}
|
|
|
|
|
|
template<typename Type>
|
|
|
-[[nodiscard]] static id_type type_hash(char) noexcept {
|
|
|
+[[nodiscard]] id_type type_hash(char) noexcept {
|
|
|
static const auto value = [](const auto stripped) {
|
|
|
return hashed_string::value(stripped.data(), stripped.size());
|
|
|
}(stripped_type_name<Type>());
|