We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e28c371 commit a2fd48eCopy full SHA for a2fd48e
include/fmt/base.h
@@ -114,7 +114,9 @@
114
#endif
115
116
// Detect consteval, C++20 constexpr extensions and std::is_constant_evaluated.
117
-#if !defined(__cpp_lib_is_constant_evaluated)
+#ifdef FMT_USE_CONSTEVAL
118
+// Use the provided definition.
119
+#elif !defined(__cpp_lib_is_constant_evaluated)
120
# define FMT_USE_CONSTEVAL 0
121
#elif FMT_CPLUSPLUS < 201709L
122
0 commit comments