mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Inline fallback is_constant_evaluated
This commit is contained in:
@ -288,7 +288,7 @@ struct monostate {};
|
||||
|
||||
namespace detail {
|
||||
|
||||
constexpr bool is_constant_evaluated() FMT_NOEXCEPT {
|
||||
constexpr FMT_INLINE bool is_constant_evaluated() FMT_NOEXCEPT {
|
||||
#ifdef __cpp_lib_is_constant_evaluated
|
||||
return std::is_constant_evaluated();
|
||||
#else
|
||||
|
Reference in New Issue
Block a user