[support.types.nullptr] (original) (raw)

17 Language support library [support]

17.2 Common definitions [support.types]

17.2.3 Null pointers [support.types.nullptr]

The type nullptr_t is a synonym for the type of a nullptr expression, and it has the characteristics described in [basic.fundamental] and [conv.ptr].

[Note 1:

Although nullptr's address cannot be taken, the address of anothernullptr_t object that is an lvalue can be taken.

— _end note_]

The macroNULLis an implementation-defined null pointer constant.159

See also: ISO/IEC 9899:2018, 7.19