If there is no data attached to any of the variants of an enumeration and there is at least one variant then it is called a c-like enumeration.
This name is terrible. It’s referring to the C programming language’s construct of an enum and that in some cases can be passed to
C for FFI. But in reality, it’s also useful in non-FFI code. You also have to know C’s enums to understand the name.
As such, I propose renaming this term to something more meaningful.
discriminant-only enumeration on IRC when I asked last night. Though I open this up for bikeshedding.
: Specifically, when the enum has a