#undef
The #undef directive removes the current definition of the specified name. All subsequent occurrences of the name are processed without replacement.
#undef name
-
name
-
Name to be removed. This value is any combination of letters, digits, and punctuation that is valid for the C/C++ preprocessor.
Example
This example removes the definitions for the names nonzero and USERCLASS:
#undef nonzero
#undef USERCLASS
Related topics
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for