Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个 lint 脚本可以强制将其用于类变量?
前任 -
class A { int var1; void func() { return var1; } }
应该 -
class A { int var1; void func() { return this->var1; } }