mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-09 03:06:49 +08:00
parent
e28c371c0f
commit
a2fd48e039
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user