namespace XXX
{
template<typename T>
class A
: public T
{
public:
void foo(){};
};
struct dummy{};
};
#if TRIGGER_VAX_ATL_G_BUG
typedef XXX::A<XXX::dummy> Adummy;
#else
using namespace XXX;
typedef A<dummy> Adummy;
#endif
class B
: public Adummy
{
public:
void foo(int i)
{
Adummy::foo(); //<-- try ALT-G on foo
}
};
Took me a while to figure this one out but this sure looks like the bug that makes alt-g fail on most of atl/wtl stuff.
This might be related to case=2403 and hopefully speeds up fixing it:)
vs2003 sp1
-bugfix