Build 2101.
1. See this code
class CFoo
{
public:
CFoo();
~CFoo();
protected:
static bool m_bFoo;
};
bool CFoo::m_bFoo = true;
CFoo::CFoo()
{
if (bFoo)
{
}
}
Using encapsulate fields also tries to change the definition of m_bFoo from
bool CFoo::m_bFoo = true;
to the following wrong code:
bool CFoo::SetFoo(true);
2. Also it would be nice that VAX detects that we have a static member and would make the Getter and Setter static too.
(just a nice to have)
3. There are cases were I only want a setter or only a getter. The current dialog doesn't allow me an empty getter or setter.
(just a nice to have)