I wonder how feasible it would be to decouple data size from type & overflow semantics, a la this comment:
This is good stuff, and I plan to work on some embedded projects to experience firsthand the needs of this kind of project.
Does this mean something like (pseudo-C):
struct weird_bit_field {
uint8_t x : 32;
};
i.e. an 8-bit int that takes 4 bytes of space? Or am I misunderstanding something?