P99

◆ P99_IS_NULLPTR

#define P99_IS_NULLPTR (   PEXP)    P99_GENERIC_NULLPTR((PEXP), true, false)

Test if the expression EXP is a null pointer in the sense of the C standard.

Warning
Beware that there are "null pointer constants" that are of integral type and thus are not a null pointer in this sense. In fact, even NULL may have that property.
See also
P99_IS_NULLPTR_CONSTANT
P99_IS_INTEGRAL_CONSTANT
Remarks
argument 0 maybe evaluated several times for its type but only once for its value

Definition at line 1810 of file p99_generic.h.