Value for pointer that do not point anywhere
It is a type-safe version of NULL
, it converts to any pointer, but not to integral types.
Has a separate type: std::nullptr_t
#include <cstddef>
void foo(int);
foo(0); // calls foo(int)
foo(NULL); // calls foo(int), probably an error
foo(nullptr); // compile-time error