1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00

add subtype to enum_fuse

This commit is contained in:
neargye 2023-05-21 21:13:35 +04:00
parent ed43fd5fa2
commit 85e2c5be68
4 changed files with 31 additions and 22 deletions

View file

@ -425,7 +425,7 @@ constexpr auto type_name() noexcept {
constexpr auto name = n<E>();
return static_string<name.size()>{name};
} else {
static_assert(detail::always_false_v<E>, "magic_enum::customize invalid.");
static_assert(always_false_v<E>, "magic_enum::customize invalid.");
}
}
@ -499,7 +499,7 @@ constexpr auto enum_name() noexcept {
constexpr auto name = n<V>();
return static_string<name.size()>{name};
} else {
static_assert(detail::always_false_v<E>, "magic_enum::customize invalid.");
static_assert(always_false_v<E>, "magic_enum::customize invalid.");
}
}