1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
This commit is contained in:
neargye 2024-01-02 02:04:57 +04:00
parent c7a793d71a
commit 9565965afd

View file

@ -871,7 +871,7 @@ inline constexpr bool is_sparse_v = is_sparse<E, S>();
template <typename E, enum_subtype S>
struct is_reflected
#if defined(MAGIC_ENUM_NO_CHECK_VALID_ENUM_TYPE)
#if defined(MAGIC_ENUM_NO_CHECK_REFLECTED_ENUM)
: std::true_type {};
#else
: std::bool_constant<std::is_enum_v<E> && (count_v<E, S> != 0)> {};