TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C++ Coding Standard
Search

Rule:  POR#032Checked automatically with code checker

Synopsis:Use nullptr instead of 0 or NULL for a null pointer
Language:C++
Severity Level:9
Category:Portability


Description:

Wrong example:

ptr = NULL;

Correct example:

ptr = nullptr;