Hi !

I defined a class :

Code:
class A
{
public:
       enum : char { VA, VB, VC };
};
and another one :

Code:
class B
{
A location;
};
In the file B.cpp, when I write :

location = A::VA;


I get an error C2679 binary '=' no operator found ...
Why ?
THanks for your help.