-- INACTIVE LINK REMOVED BY AUTHOR --
Any comments?
#define TPOperator(WhatEver, Value) int i##WhatEver = Value;
TPOperator(MyInt, 10)
TPOperator(YourInt, 21)
// These turn into
int iMyInt = 10;
int iYourInt = 21;
#define TPOperator(WhatEver) class C##WhatEver##Impl{};
TPOperator(State)
TPOperator(Object)
// These turn into
class CStateImpl{};
class CObjectImpl{};
I'm not familiar with Name##. Is it a compiler directive or something? I think I see how it works in the other files though.