For example this code, 'p' is a pointer, and 'a' is a value.
If type "p." or "a.", they show the same results.
#include <iostream>
class A
{
public:
A();
~A();
void testMsg() {}
private:
int iLoveYou;
};
int main()
{
A* p = new A;
A a;
a.testMsg();
return 0;
}
Because CC can identified a pointer, or value, so we can do that:
If it is a pointer, then automatically replace from "." to "->", like this:
form:
to:
[attachment deleted by admin]