diff --git a/include/type_traits b/include/type_traits index e1cd1e15..d522b29a 100644 --- a/include/type_traits +++ b/include/type_traits @@ -395,6 +395,9 @@ template struct _LIBCPP_VISIBLE is_fundamental : public integral_constant::value || is_arithmetic<_Tp>::value> {}; +template <> struct _LIBCPP_VISIBLE is_fundamental + : public true_type {}; + // is_scalar template struct _LIBCPP_VISIBLE is_scalar @@ -403,6 +406,8 @@ template struct _LIBCPP_VISIBLE is_scalar is_pointer<_Tp>::value || is_enum<_Tp>::value > {}; +template <> struct _LIBCPP_VISIBLE is_scalar : public true_type {}; + // is_object template struct _LIBCPP_VISIBLE is_object