Quantcast
Channel: Cpp11 – On C++ and other OOPscenities
Viewing all articles
Browse latest Browse all 23

C++11: nullptr

$
0
0
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: If you try to compile it using g++ 4.6, you will get something […]

Viewing all articles
Browse latest Browse all 23

Trending Articles