Yes.
Both NULLand nullptrare "null pointer constant" and
The null pointer constant can be converted to a pointer type; the result is a null pointer value of this type and is different from any other object pointer value or function pointer type.
Finally,
Two null pointer values of the same type are compared equal.
(Both citations are 4.10 / 1 in N4140)
source
share