diff --git a/libc/src/__support/CPP/type_traits/is_null_pointer.h b/libc/src/__support/CPP/type_traits/is_null_pointer.h index e5c024b1b3898..718bd0940f617 100644 --- a/libc/src/__support/CPP/type_traits/is_null_pointer.h +++ b/libc/src/__support/CPP/type_traits/is_null_pointer.h @@ -18,6 +18,8 @@ namespace __llvm_libc::cpp { using nullptr_t = decltype(nullptr); template struct is_null_pointer : cpp::is_same> {}; +template +LIBC_INLINE_VAR constexpr bool is_null_pointer_v = is_null_pointer::value; } // namespace __llvm_libc::cpp