I have implemented a singleton class which is accessed through a method named Instance(). For example:
SomeSingletonClass::Instance().DoSomething();
For convenience, I have written the following macro:
#define g_singletonClass SomeSingletonClass::Instance()
This allows me to access the singleton simply by writing:
g_singletonClass.DoSomething();
However, VA seems to be having some problems parsing the macro. At least it doesn't show a list box with methods once I type . after g_singletonClass. If I don't use the macro, everything works fine.