tags:

views:

50

answers:

1

What does this mean in C++:

#define TheVLM(x) VLM::Global()->x TheVLM(Run());
+8  A: 

Are you sure it's not on two lines, like :

#define TheVLM(x) VLM::Global()->x 
TheVLM(Run());

In that case, it's nothing specfic to C++, it is a standard use of Macro. The second line will generate the following call after macro substitution:

VLM::Global()->Run();
Bluebird75
For a second I was like - recursion in macros?
Amarghosh