mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-09 23:34:23 +00:00
clean-up
This commit is contained in:
parent
c7a793d71a
commit
9565965afd
1 changed files with 1 additions and 1 deletions
|
|
@ -871,7 +871,7 @@ inline constexpr bool is_sparse_v = is_sparse<E, S>();
|
||||||
|
|
||||||
template <typename E, enum_subtype S>
|
template <typename E, enum_subtype S>
|
||||||
struct is_reflected
|
struct is_reflected
|
||||||
#if defined(MAGIC_ENUM_NO_CHECK_VALID_ENUM_TYPE)
|
#if defined(MAGIC_ENUM_NO_CHECK_REFLECTED_ENUM)
|
||||||
: std::true_type {};
|
: std::true_type {};
|
||||||
#else
|
#else
|
||||||
: std::bool_constant<std::is_enum_v<E> && (count_v<E, S> != 0)> {};
|
: std::bool_constant<std::is_enum_v<E> && (count_v<E, S> != 0)> {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue