mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-25 06:00:55 +02:00
@@ -114,7 +114,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Detect consteval, C++20 constexpr extensions and std::is_constant_evaluated.
|
// Detect consteval, C++20 constexpr extensions and std::is_constant_evaluated.
|
||||||
#if !defined(__cpp_lib_is_constant_evaluated)
|
#ifdef FMT_USE_CONSTEVAL
|
||||||
|
// Use the provided definition.
|
||||||
|
#elif !defined(__cpp_lib_is_constant_evaluated)
|
||||||
# define FMT_USE_CONSTEVAL 0
|
# define FMT_USE_CONSTEVAL 0
|
||||||
#elif FMT_CPLUSPLUS < 201709L
|
#elif FMT_CPLUSPLUS < 201709L
|
||||||
# define FMT_USE_CONSTEVAL 0
|
# define FMT_USE_CONSTEVAL 0
|
||||||
|
Reference in New Issue
Block a user