Bit fields in struct, why doesn't D support them?

Jeremie Pelletier jeremiep at gmail.com
Tue May 19 20:17:29 PDT 2009


I know this is an old subject, as this has been stated in the struct reference page ever since D1, but I'm really wondering why the bit fields aren't supported (or purposely not implemented?) in D.

Having this feature would greatly simplify a lot of code, and allow easier interfacing with C structs using it.




More information about the Digitalmars-d mailing list