All constants should be static (maybe), and be defined at the top level of the appropriate .cpp file if their type requires it. This will allow the use of the :: syntax everywhere instead of using pointers to constant class objects. This will be much cleaner and just make so much more sense.
TODO: Decide if all constants should be static members of classes, or all constants classes should be converted to namespaces instead!
Another possible way of doing this is to use the singleton pattern for constant classes, think about the pros/cons of this as well
All constants should be static (maybe), and be defined at the top level of the appropriate
.cpp
file if their type requires it. This will allow the use of the::
syntax everywhere instead of using pointers to constant class objects. This will be much cleaner and just make so much more sense.TODO: Decide if all constants should be static members of classes, or all constants classes should be converted to namespaces instead!
Another possible way of doing this is to use the singleton pattern for constant classes, think about the pros/cons of this as well