The #undef directive has the effect of undoing a prior #define directive, allowing a later #define to give the macro a different value. It is used very rarely, primarily in cases where there is a conflict between two or more header files.
Contents Previous Next