Question: I have a C++ class which contains only static data members.
I noticed the compiler is OK if I define the access methods as const, as static, or as "regular" - so all seem to work.

My question is what is the correct/better practice in this case?

Thanks!

Answer: 
Static accessors for static data members.
If your class contains only static members, you should probably be using the [singleton pattern](http://en.wikipedia.org/wiki/Singleton_pattern).