C++11 nullptr
nullptr
is a better defined replacement for NULL
in the
C++11 standard
in header <cstddef>
and in the
C23 standard
in header <stddef.h>
.
Remember to include these system headers in source code to help compatibility across compilers–especially modern ones as internal includes are refined to have narrower include scope.