Name

#undef directive — Undefines a macro

Synopsis

#undef identifier
            

The #undef directive deletes the definition of the macro named identifier. If identifier is not a macro name, the directive has no effect. If you attempt to undefine the identifier defined or any predefined macro, the behavior is undefined.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.