The usage of anonymous enums

That’s a so-called enum trick for declaring a compile-time integer constant. It’s advantage is it guarantees that no variable is instantiated and therefore there’s no runtime overhead. Most compilers introduce no overhead with integer constants anyway.

Leave a Comment