Hi,
I have a "enums.h" file with common utility enums and consts declared like:
Including it in a .cpp file makes the compilation unit larger (and hence the final executable and memory size) only by the enums/consts actually used in the .cpp file or by all the enums/consts defined in the "enums.h"?Code:enum ViewMode { VIEW_MODE_NONE = 0, VIEW_MODE_LIST = 1, VIEW_MODE_GRID = 2 };
Bookmarks