Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 835 Bytes

File metadata and controls

34 lines (27 loc) · 835 Bytes
title push_macro | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.technology
cpp-tools
ms.topic reference
f1_keywords
vc-pragma.push_macro
push_macro_CPP
dev_langs
C++
helpviewer_keywords
pragmas, push_macro
push_macro pragma
ms.assetid ac89efc9-afd1-4dfe-bfd1-497229b3e81d
author corob-msft
ms.author corob
ms.workload
cplusplus

push_macro

Saves the value of the macro_name macro on the top of the stack for this macro.

Syntax

  
#pragma push_macro("  
macro_name  
")  
  

Remarks

You can retrieve the value for macro_name with pop_macro.

See pop_macro for a sample.

See Also

Pragma Directives and the __Pragma Keyword