E
earthwormgaz
The Metrowerks compiler does not think that a local struct declared
within a method of a class should be able to see private data of that
class. Is this a feature of the standard or a quirk of this compiler
does anyone know?
Example ...
class A
{
private:
enum MyEnum
{
A,
B
};
void MyMethod()
{
struct
{
MyEnum val
} values[] =
{ { A }, { B } };
}
};
within a method of a class should be able to see private data of that
class. Is this a feature of the standard or a quirk of this compiler
does anyone know?
Example ...
class A
{
private:
enum MyEnum
{
A,
B
};
void MyMethod()
{
struct
{
MyEnum val
} values[] =
{ { A }, { B } };
}
};