We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77fc549 commit a279bf0Copy full SHA for a279bf0
libc/src/__support/CPP/type_traits/is_null_pointer.h
@@ -18,6 +18,8 @@ namespace __llvm_libc::cpp {
18
using nullptr_t = decltype(nullptr);
19
template <class T>
20
struct is_null_pointer : cpp::is_same<cpp::nullptr_t, cpp::remove_cv_t<T>> {};
21
+template <class T>
22
+LIBC_INLINE_VAR constexpr bool is_null_pointer_v = is_null_pointer<T>::value;
23
24
} // namespace __llvm_libc::cpp
25
0 commit comments