I was wondering whether enum has internal or external linkage, and this article explains it very well. enum has no storage or linkage. It’s the same as a macro, only safer.

Advertisements