E
Edward Diener
In an assembly I have a __value enum with some enumerated constants, ie.
namespace X
{
public __value enum MyEnum
{
ValueA,
ValueB
};
}
From another assembly which references the assembly in which the above
exists, I attempt to refer to the ValueA as X::ValueA, only to get an error
message saying that ValueA is not a member of X. When I attempt to refer to
ValueA as X::MyEnum::ValueA, all is well.
The change is not a big thing but I was was under the distinct impression
that one only needed to specify the longer syntax when there was another
ValueA in namespace X. Is this a bug in the current compiler, or have I
missed something in the ability to specify an enumerated constant ?
namespace X
{
public __value enum MyEnum
{
ValueA,
ValueB
};
}
From another assembly which references the assembly in which the above
exists, I attempt to refer to the ValueA as X::ValueA, only to get an error
message saying that ValueA is not a member of X. When I attempt to refer to
ValueA as X::MyEnum::ValueA, all is well.
The change is not a big thing but I was was under the distinct impression
that one only needed to specify the longer syntax when there was another
ValueA in namespace X. Is this a bug in the current compiler, or have I
missed something in the ability to specify an enumerated constant ?