c++ - What is #nomacros (EP003), and is it alive? -
is ...
EP003 #nomacros See EI 001 note written by Stroustrup.
In some (or exact) words, what is #nomacros
, and is it available anywhere as an extension? This will be a useful diagnostic tool in a recent project, in which 2005 files of 2005-Vintage C ++ run code through pre-editor and thousands of files compared to the option to check .i files for optional packages. Must be connected to porting.
ES042 #nospam
Provide a preprocessor mechanism to enter the macro range and exit. For example: #nomacros #in AB ... #out AX #endnomacros
No macros are added between #MMCross and #Ananomacross, as long as # in # No macros defined between #omacrocos and # endomacros will not be defined after #endnomacros, unless explicitly enabled by #out.
After discussions in the EWG suggested by Bjarne Stroustrup, it was decided that the "#in" used in the expansion of such macros would be used by the macros used by macros. Having macros are allowed.
#nomacros should nest
Comments
Post a Comment