Which is the best way to avoid to write the class name when I use a type defined in a class?
For example I have a class
MyClass where is defined a
mytype type, out of this class I need use
mytype and I must write:
I would like to write only
I've try with
#define MyClass::mytype mytype
It works but I think that this is not a good solution. What should I use?