mirror of
https://github.com/fmtlib/fmt.git
synced 2026-02-13 21:59:57 +08:00
Inline fallback is_constant_evaluated
This commit is contained in:
parent
7c43f8b896
commit
dac42f52b2
@ -288,7 +288,7 @@ struct monostate {};
|
|||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
|
||||||
constexpr bool is_constant_evaluated() FMT_NOEXCEPT {
|
constexpr FMT_INLINE bool is_constant_evaluated() FMT_NOEXCEPT {
|
||||||
#ifdef __cpp_lib_is_constant_evaluated
|
#ifdef __cpp_lib_is_constant_evaluated
|
||||||
return std::is_constant_evaluated();
|
return std::is_constant_evaluated();
|
||||||
#else
|
#else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user