例如我有,
#define (name) ##name
##name 的术语是什么?
谢谢!
Concat operator i believe. Also called token pasting or token concatenation operator. The ##
preprocessing operator performs token pasting. When a macro is expanded, the two tokens on either side of each ##
operator are combined into a single token, which then replaces the ##
and the two original tokens in the macro expansion. Usually both will be identifiers, or one will be an identifier and the other a preprocessing number. When pasted, they make a longer identifier.
See here - ## Operator (Macro Concatenation)