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:
parent
ed43fd5fa2
commit
85e2c5be68
4 changed files with 31 additions and 22 deletions
|
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue