Hello, Whole Tomato. :)
Consider the following:
class Example
{
enum Signs
{
POSITIVE,
NEGATIVE,
ZERO,
UNKNOWN
};
public:
Signs GetSign() const;
};
If you right click on "GetSign", and select "Refactor (VA X)" -> "Create Implementation", VA X will create this function:
Signs Example::GetSign() const
{
}
This will not compile, because the "Signs" enum is not known outside of the class. It should instead produce
Example::Signs Example::GetSign() const
{
}
Thanks!