Re: enum type in pC++

> I am sending an example where a constant (X) of enumerated
> type (dir_t) is not recognized in the assignment
> operator in function MyCollection::efoo().

This is now fixed and your example parses. In the future, you should  
keep in mind that, due to the special scoping rules for  
MethodOfElement functions; inside such functions you can only refer  
to enumerators declared at top level (i.e., in the global scope).