I have this code.
class CFoo
{
public:
CFoo();
private:
int i1, // Comment 1
i2, // Comment 2
i3; // Comment 3
};
Place the Cursor on i1 or i2 and execute "Encapsulate field".
The code get broken. Even if I select another access level (protected).
Also it is not possible to make the getter/setter for i2 public.