Pop quiz! Why on Earth would you ever do this in C? enum foo_e: uint8_t { FOO_A,...
MOS_8502 @mos_8502@studio8502.ca
Pop quiz!
Why on Earth would you ever do this in C?
enum foo_e: uint8_t {
FOO_A,
FOO_B,
FOO_C
};
typedef struct {
enum foo_e value;
} Foo;