Alt-G does not work with some framework classes i'm using. I've stripped the code down to the following snippets:
AltGTest.h:
#ifndef _ALT_G_H_
#define _ALT_G_H_
#define STRUCT class
STRUCT A
{
public:
int do1() const;
};
STRUCT B : public A
{
public:
int do2() const;
};
STRUCT C : public B
{
public:
int do3() const;
};
#endif
AltGTest.cpp:
#include "codec.h"
A::do1() const { /* do nothing */ }
B::do2() const { /* do nothing */ }
C::do3() const { /* do nothing */ }
Alt-G does work for A::do1() but it does not work for do2/3.
I know that it may not be recommended to redefine C++ keywords via macros but as said before the original code is part of a framework i'm using and i cannot change it ...