G
Glen Able
class Outer
{
typedef int MyInt;
class Inner
{
Outer::MyInt m_thing;
};
};
In this case, when VC sees the declaration of m_thing, it gives the error
"use of undefined type 'Outer'"
Shouldn't this compile OK? I'm assuming there's no special scoping rules
for typedefs are there?
thanks.
{
typedef int MyInt;
class Inner
{
Outer::MyInt m_thing;
};
};
In this case, when VC sees the declaration of m_thing, it gives the error
"use of undefined type 'Outer'"
Shouldn't this compile OK? I'm assuming there's no special scoping rules
for typedefs are there?
thanks.