From db3c2602fd91f55d8d2e2a808d944b38979d0320 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 3 Jun 2021 02:02:25 -0500 Subject: [PATCH] [ox/std] Add is_char_v --- deps/ox/src/ox/std/typetraits.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/typetraits.hpp b/deps/ox/src/ox/std/typetraits.hpp index f788c327..70012e7e 100644 --- a/deps/ox/src/ox/std/typetraits.hpp +++ b/deps/ox/src/ox/std/typetraits.hpp @@ -71,9 +71,13 @@ template<> struct is_integral: true_type {}; template constexpr bool is_integral_v = is_integral::value; +template struct is_char: false_type {}; +template<> struct is_char : true_type {}; +template +constexpr bool is_char_v = is_char::value; + template struct is_bool: false_type {}; template<> struct is_bool : true_type {}; - template constexpr bool is_bool_v = is_bool::value;