C++11: nullptr

In C and C++ we use the preprocessor macro NULL to say a pointer is not pointing to anywhere right now.

The problem with NULL is that underneath it is just a plain 0.

Consider the problem looking at this code excerpt:
Continue reading “C++11: nullptr”

Advertisements