mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
add macro to no check support
This commit is contained in:
parent
317029850a
commit
c0ae150a26
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ namespace detail {
|
|||
|
||||
template <typename T>
|
||||
struct magic_enum_supported final
|
||||
#if defined(__clang__) || defined(__GNUC__) && __GNUC__>= 9 || defined(_MSC_VER)
|
||||
#if defined(__clang__) || defined(__GNUC__) && __GNUC__>= 9 || defined(_MSC_VER) || defined(MAGIC_ENUM_NO_CHECK_SUPPORT)
|
||||
: std::true_type {};
|
||||
#else
|
||||
: std::false_type {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue