Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] static member access


On Tue, Mar 19, 2013 at 2:08 AM, scalpel4k <scalpel4k@xxxxxxxxx> wrote:
Hi guys,

I have a question regarding some coding style. If I have static members of a class I can call those members from an object of that class.

class A {
  static void test();
}

A a;
a.test();

I know it is totally valid code, but when I look at JDT they allow me to set a warning level for this kind of coding. Is this something that might be implemented in codan as well?

Definitely. Your contribution in this area will be welcome.

bye Michi

-sergey 
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top