05-10-2015, 01:47 PM
NULL is defined in C++ (see 4.10 of the Language Reference Manual).
Note that 4-10-2 does not ban the use of the token "NULL", but it does prohibit the use of literal "0" as a null pointer.
Note that 4-10-2 does not ban the use of the token "NULL", but it does prohibit the use of literal "0" as a null pointer.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group