nullptr
is a pointer literal the same way as for example truetrue
is a boolean literal. This literal has type std::nullptr_t
that is as you see this type is defined in name space std::std::
The pointer literal is described in section 2.14.7 Pointer literals of the C++ Standard.