diff --git a/src/ox/std/typetraits.hpp b/src/ox/std/typetraits.hpp index 50eb58e58..080c875a3 100644 --- a/src/ox/std/typetraits.hpp +++ b/src/ox/std/typetraits.hpp @@ -117,6 +117,19 @@ struct enable_if { }; +template +struct is_pointer { + static constexpr bool value = false; +}; + +template +struct is_pointer { + static constexpr bool value = true; +}; + +template +constexpr bool is_pointer_v = is_pointer::value; + template struct remove_pointer { using type = T;