G
Gaijinco
How come that this is legal:
class A
{
enum Enum{B,C};
Enum foo()
{
return B;
}
};
But this isn't:
class A
{
enum Enum{B,C};
Enum foo();
};
Enum A::foo()
{
return B;
}
class A
{
enum Enum{B,C};
Enum foo()
{
return B;
}
};
But this isn't:
class A
{
enum Enum{B,C};
Enum foo();
};
Enum A::foo()
{
return B;
}