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.
> 
> I have a C++ class which contains only static data members. 
> 
> 
> 

Then that probably shouldn't be a class, but either free functions in a namespace or a singleton.