| description | Learn more about the push_macro pragma directive in Microsoft C/C++ | ||
|---|---|---|---|
| title | push_macro pragma | ||
| ms.date | 01/22/2021 | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| no-loc |
|
Saves the value of the macro-name macro on the top of the stack for this macro.
#pragma push_macro("macro-name")
You can retrieve the value for macro-name with pop_macro.
See pop_macro pragma for a sample.