I have in my class definition the following enum:
static class Myclass {
     ...
  public:    
     enum encoding { BINARY, ASCII, ALNUM, NUM };
     Myclass(Myclass::encoding);
     ...
}
Then in the method definition:
Myclass::Myclass(Myclass::encoding enc) {
    ...
}
This doesn't work, but what am I doing wrong? How do I pass an enum member correctly, that is defined inside a class for member methods (and other methods as well)?
 
     
     
     
     
     
     
    