diff --git a/include/fmt/core.h b/include/fmt/core.h index 5d21723a..33378992 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -273,6 +273,17 @@ template struct is_contiguous : std::false_type {}; template struct is_contiguous> : std::true_type {}; +template +struct is_scoped_enum : std::false_type {}; +template +struct is_scoped_enum::value && + !std::is_convertible::type>::value +# ifdef __cpp_lib_byte + && !std::is_same::value +# endif +>> : std::true_type {}; + struct monostate { constexpr monostate() {} };