I have a macro:
#define DECLARE_CONSTRUCTORS(__class) \ __class(); \ __class(__class const& rhs); \ ~__class(); \ __class& operator=(__class const& rhs);
#define DECLARE_SINGLETON(__class) \ public: \ inline static __class* Get() { static __class singleton; return &singleton; } \ private: \ DECLARE_CONSTRUCTORS(__class)
When i put it in my class, like this:
class foo
{
DECLARE_SINGLETON(foo);
}
it is unrecognized by VA - i cannot go to definition, no IntelliSense hint when i try to access Get() method and, thus, no methods of this class are shown after Get.