From f8f5e7600e0bf1cc154850bc1ed545fb28cd96ce Mon Sep 17 00:00:00 2001 From: pmqtt <51272730+pmqtt@users.noreply.github.com> Date: Fri, 11 Aug 2023 22:53:05 +0200 Subject: [PATCH] Update core.h --- include/fmt/core.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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() {} };