... 代替,替换 su titute; substitute 宏替换 macrosu titution; macrosubstitution 接替,替换 replace ...
基于2个网页-相关网页
编译的预处理阶段对程序文本进行宏替换,包含进其他源文件,并进行条件编译。
A preprocessing step performs macro substitution on program text, inclusion of other source files, and conditional compilation.
这意味着宏所使用的所有临时变量都会在替换发生之前自动重新进行命名,从而防止名字产生冲突。
This means that all temporary variables used by a macro are automatically renamed before the substitution occurs in order to prevent them from having conflicting names.
用不冲突的名称替换引入的变量名,这种方法称为健康的(hygiene);产生的宏称为健康的宏(hygienic macros)。
The idea of replacing introduced variable names with non-conflicting names is called hygiene; the resulting macros are called hygienic macros.
应用推荐