Possible Duplicates:
Macro expansion in C++
What is the purpose of the ## operator in C++, and what is it called?
What does “##” symbol mean in C++? I came across with it while I was reading someone’s source code. More specifically, what does this statement mean:
if ( v > ## = 0.1 * threshold )
In a
#definemacro,##is a preprocessor token, which says to paste the surrounding two things together. So assuming you saw this within a#define, it is a very strange way of writingIf you already subsituted either the
>or=, it’s not quite so strange. Just a somewhat strange trick.