I have like 5 classes, 3 of then need around 15 constants the other 2 classes need only 2 of the 15.
I was thinking of having a header file to contain all the constants in header file and just include them in the header files of all 5 classes.
My concern is for the 2 classes that only uses the 2 of the 15 constants... is there some space wasted since all 15 are declared or some performance problems of doing this? Or does the preprocessor get's only constants that are used in that classes?