diff --git a/deps/ox/src/ox/std/typetraits.hpp b/deps/ox/src/ox/std/typetraits.hpp index 576e1591..1cc38ddc 100644 --- a/deps/ox/src/ox/std/typetraits.hpp +++ b/deps/ox/src/ox/std/typetraits.hpp @@ -21,6 +21,10 @@ namespace std { template constexpr bool is_union_v = __is_union(T); +constexpr bool is_constant_evaluated() noexcept { + return __builtin_is_constant_evaluated(); +} + } #endif