he new C++09 nullptr
keyword designates an rvalue
constant that serves as a universal null pointer literal, replacing the buggy and weakly-typed literal 0 and the infamous NULL
thus puts an end to more than 30 years of embarrassment, ambiguity, and bugs. The following sections present the nullptr
facility and show how it can remedy the ailments of NULL
The literal 0 (which is essentially of type int) also serves as a null pointer literal in C++. This kludge results in ambiguity and bugs.
Use the nullptr keyword instead of 0 to indicate a null pointer value.