C++ Language/Indirection/TypedNull

The traditional  macro was really just a   with value. This is commonly used as a special value assigned to a pointer variable, having the semantic meaning of "not pointing at anything" (because computers will never try to use their memory at address 0).

Modern C++ uses  instead of , because   has a dedicated   type.

Additional information about nullptr